@tamagui/core 3.0.0-beta.1313.1 → 3.0.0-beta.1341.1

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.
@@ -33,7 +33,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
33
33
  //#endregion
34
34
  let react = require("react");
35
35
  react = __toESM(react, 1);
36
- let _tamagui_size = require("@tamagui/size");
37
36
  let react_jsx_runtime = require("react/jsx-runtime");
38
37
  let react_native = require("react-native");
39
38
  react_native = __toESM(react_native, 1);
@@ -100,10 +99,13 @@ function isPlainObject(value) {
100
99
  var mergeProps = function(defaultProps, props) {
101
100
  var out = {};
102
101
  for (var key in defaultProps) {
103
- if (key in props) continue;
102
+ if (key in props && props[key] !== void 0) continue;
104
103
  out[key] = defaultProps[key];
105
104
  }
106
- for (var key1 in props) out[key1] = props[key1];
105
+ for (var key1 in props) {
106
+ if (props[key1] === void 0 && key1 in defaultProps) continue;
107
+ out[key1] = props[key1];
108
+ }
107
109
  return out;
108
110
  };
109
111
  var mergeComponentProps = function(defaultProps, contextProps, props) {
@@ -112,15 +114,16 @@ var mergeComponentProps = function(defaultProps, contextProps, props) {
112
114
  if (defaultProps && !contextProps) return [mergeProps(defaultProps, props), overriddenContext];
113
115
  var out = {};
114
116
  for (var key in defaultProps) {
115
- if (key in props) continue;
117
+ if (key in props && props[key] !== void 0) continue;
116
118
  out[key] = defaultProps[key];
117
119
  }
118
120
  for (var key1 in contextProps) {
119
- if (key1 in props) continue;
121
+ if (key1 in props && props[key1] !== void 0) continue;
120
122
  var contextValue = contextProps[key1];
121
123
  if (contextValue !== void 0) out[key1] = contextValue;
122
124
  }
123
125
  for (var key2 in props) {
126
+ if (props[key2] === void 0 && (defaultProps && key2 in defaultProps || contextProps && key2 in contextProps)) continue;
124
127
  out[key2] = props[key2];
125
128
  if (contextProps && key2 in contextProps) {
126
129
  overriddenContext || (overriddenContext = {});
@@ -212,6 +215,9 @@ var createStyledContext = function(defaultValues) {
212
215
  var ComponentContext = createStyledContext({
213
216
  disableSSR: void 0,
214
217
  inText: false,
218
+ parentFontSize: void 0,
219
+ parentLineHeight: void 0,
220
+ animatedText: null,
215
221
  language: null,
216
222
  animationDriver: null,
217
223
  setParentFocusState: null,
@@ -219,6 +225,11 @@ var ComponentContext = createStyledContext({
219
225
  }, { keys: [
220
226
  "disableSSR",
221
227
  "inText",
228
+ ...[
229
+ "parentFontSize",
230
+ "parentLineHeight",
231
+ "animatedText"
232
+ ],
222
233
  "language",
223
234
  "animationDriver",
224
235
  "setParentFocusState",
@@ -4093,6 +4104,13 @@ function expandStyle(key, value) {
4093
4104
  switch (key) {
4094
4105
  case "objectFit": return [["resizeMode", resizeModeMap[value] || "cover"]];
4095
4106
  case "verticalAlign": return [["textAlignVertical", verticalAlignMap[value] || "auto"]];
4107
+ case "direction": return [["direction", value], ["writingDirection", directionMap[value] || "auto"]];
4108
+ case "gap":
4109
+ if (typeof value === "string") {
4110
+ var parts = splitComponents(value);
4111
+ if (parts.length === 2) return [["rowGap", parts[0]], ["columnGap", parts[1]]];
4112
+ }
4113
+ return;
4096
4114
  case "position":
4097
4115
  if (value === "fixed" || value === "sticky") return [["position", "absolute"]];
4098
4116
  return;
@@ -4138,6 +4156,11 @@ var verticalAlignMap = {
4138
4156
  bottom: "bottom",
4139
4157
  auto: "auto"
4140
4158
  };
4159
+ var directionMap = {
4160
+ ltr: "ltr",
4161
+ rtl: "rtl",
4162
+ inherit: "auto"
4163
+ };
4141
4164
  var all = [
4142
4165
  "Top",
4143
4166
  "Right",
@@ -4711,7 +4734,6 @@ function getDynamicEnv(styleState) {
4711
4734
  return styleState.flatDynamicEnv = {
4712
4735
  fonts,
4713
4736
  tokens: conf.tokensParsed,
4714
- sizes: conf.sizes,
4715
4737
  theme,
4716
4738
  get fontFamily() {
4717
4739
  return getVariableValue(styleState.fontFamily || props.fontFamily) || props.fontFamily || getVariableValue(getSetting("defaultFont"));
@@ -4877,15 +4899,76 @@ new Set([
4877
4899
  "translateX",
4878
4900
  "translateY"
4879
4901
  ].filter(function(key) {
4880
- return !stylePropsUnitless[key];
4902
+ return key !== "lineHeight" && !stylePropsUnitless[key];
4881
4903
  }));
4882
4904
  var pxStringRe = /^-?\d*\.?\d+px$/;
4883
4905
  function normalizeValueWithProperty(value) {
4884
- arguments.length > 1 && arguments[1] !== void 0 && arguments[1];
4906
+ if ((arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "") === "lineHeight") return value;
4885
4907
  if (typeof value === "string" && pxStringRe.test(value)) return Number.parseFloat(value);
4886
4908
  return value;
4887
4909
  }
4888
4910
  //#endregion
4911
+ //#region ../web/dist/esm/helpers/resolveVariableValue.native.js
4912
+ function resolveVariableValue(key, valOrVar, resolveValues) {
4913
+ if (resolveValues === "none" || !isVariable(valOrVar)) return valOrVar;
4914
+ var value;
4915
+ if (resolveValues === "value") value = valOrVar.val;
4916
+ else {
4917
+ var get = valOrVar.get;
4918
+ value = !(key === "shadowColor" || key === "boxShadow" || key === "textShadow" || key === "backgroundImage") && typeof get === "function" ? get(resolveValues === "web" ? "web" : void 0) : valOrVar.val;
4919
+ }
4920
+ return key === "lineHeight" && typeof value === "number" ? `${value}px` : value;
4921
+ }
4922
+ //#endregion
4923
+ //#region ../web/dist/esm/helpers/nativeTextMetrics.native.js
4924
+ function resolveTextMetrics(style, lineHeight, parent) {
4925
+ var isStatic = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false, apply = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : true;
4926
+ if (isVariable(lineHeight)) lineHeight = resolveVariableValue("lineHeight", lineHeight, "value");
4927
+ var fontSize = typeof style.fontSize === "number" ? style.fontSize : parent === null || parent === void 0 ? void 0 : parent.parentFontSize;
4928
+ var inheritsFontSize = style.fontSize == null && !!(parent === null || parent === void 0 ? void 0 : parent.animatedText);
4929
+ if (apply && style.fontSize == null && fontSize !== void 0 && !inheritsFontSize) style.fontSize = fontSize;
4930
+ var leading;
4931
+ if (lineHeight == null || lineHeight === "inherit" || lineHeight === "unset") leading = parent === null || parent === void 0 ? void 0 : parent.parentLineHeight;
4932
+ else if (lineHeight === "normal" || lineHeight === "initial") leading = "normal";
4933
+ else if (typeof lineHeight === "number") leading = lineHeight;
4934
+ else if (typeof lineHeight === "string") {
4935
+ if (/^(?:\d+\.?\d*|\.\d+)px$/.test(lineHeight)) leading = lineHeight;
4936
+ else if (lineHeight.trim() !== "" && Number.isFinite(+lineHeight)) leading = +lineHeight;
4937
+ }
4938
+ if (typeof leading === "number" && (!Number.isFinite(leading) || leading < 0)) {
4939
+ delete style.lineHeight;
4940
+ return _objectSpread2({ fontSize }, inheritsFontSize && { inheritsFontSize });
4941
+ }
4942
+ if (!apply) return _objectSpread2({
4943
+ fontSize,
4944
+ lineHeight: leading
4945
+ }, inheritsFontSize && { inheritsFontSize });
4946
+ if (typeof leading === "number") {
4947
+ if (fontSize === void 0 && !isStatic && !inheritsFontSize) {
4948
+ fontSize = 14;
4949
+ style.fontSize = fontSize;
4950
+ }
4951
+ if (inheritsFontSize || fontSize === void 0) delete style.lineHeight;
4952
+ else style.lineHeight = fontSize * leading;
4953
+ } else if (leading && leading !== "normal") style.lineHeight = Number.parseFloat(leading);
4954
+ else if (lineHeight != null || leading === "normal") delete style.lineHeight;
4955
+ return _objectSpread2({
4956
+ fontSize,
4957
+ lineHeight: leading
4958
+ }, inheritsFontSize && { inheritsFontSize });
4959
+ }
4960
+ //#endregion
4961
+ //#region ../web/dist/esm/helpers/isTamaguiComponent.native.js
4962
+ function isTamaguiComponent(comp) {
4963
+ var config = comp === null || comp === void 0 ? void 0 : comp["staticConfig"];
4964
+ return Boolean(config);
4965
+ }
4966
+ //#endregion
4967
+ //#region ../web/dist/esm/helpers/isTamaguiElement.native.js
4968
+ var isTamaguiElement = function(child) {
4969
+ return /* @__PURE__ */ react.default.isValidElement(child) && isTamaguiComponent(child.type);
4970
+ };
4971
+ //#endregion
4889
4972
  //#region ../web/dist/esm/helpers/parseNativeStyle.native.js
4890
4973
  function parseNativeStyle(key, cssString, tokenMap) {
4891
4974
  switch (key) {
@@ -5232,23 +5315,10 @@ function resolveNativeUnits(key, value, styleState) {
5232
5315
  return resolveSingleUnit(trimmed, ctx);
5233
5316
  }
5234
5317
  //#endregion
5235
- //#region ../web/dist/esm/helpers/resolveVariableValue.native.js
5236
- function resolveVariableValue(key, valOrVar, resolveValues) {
5237
- if (resolveValues === "none") return valOrVar;
5238
- if (isVariable(valOrVar)) {
5239
- if (resolveValues === "value") return valOrVar.val;
5240
- var get = valOrVar === null || valOrVar === void 0 ? void 0 : valOrVar.get;
5241
- if (!(key === "shadowColor" || key === "boxShadow" || key === "textShadow" || key === "backgroundImage")) {
5242
- if (typeof get === "function") return get(resolveValues === "web" ? "web" : void 0);
5243
- }
5244
- return valOrVar.val;
5245
- }
5246
- return valOrVar;
5247
- }
5248
- //#endregion
5249
5318
  //#region ../web/dist/esm/helpers/webPropsToSkip.native.js
5250
- var { textOverflow: __ } = webOnlyStylePropsText, webOnlyStylePropsTextWithoutTextOverflow = _objectWithoutProperties(webOnlyStylePropsText, ["textOverflow"]);
5251
- var webPropsToSkip = _objectSpread2(_objectSpread2(_objectSpread2({}, webOnlyStylePropsView), webOnlyStylePropsTextWithoutTextOverflow), {}, {
5319
+ var { textOverflow: _textOverflow } = webOnlyStylePropsText, webOnlyStylePropsTextWithoutTextOverflow = _objectWithoutProperties(webOnlyStylePropsText, ["textOverflow"]);
5320
+ var { userSelect: _userSelect } = webOnlyStylePropsView;
5321
+ var webPropsToSkip = _objectSpread2(_objectSpread2(_objectSpread2({}, _objectWithoutProperties(webOnlyStylePropsView, ["userSelect"])), webOnlyStylePropsTextWithoutTextOverflow), {}, {
5252
5322
  onClick: 1,
5253
5323
  onDoubleClick: 1,
5254
5324
  onContextMenu: 1,
@@ -5813,11 +5883,12 @@ function contributeProp(pass, keyOg, valOg) {
5813
5883
  if (replacement) warnOnce(`v2-prop:${keyInit}`, `prop "${keyInit}" was removed in v3; use ${replacement}`);
5814
5884
  }
5815
5885
  }
5886
+ if (keyInit === "userSelect") {
5887
+ viewProps.selectable = valInit !== "none";
5888
+ return;
5889
+ }
5816
5890
  if (!isValidStyleKeyInit) {
5817
- if (keyInit === "userSelect") {
5818
- keyInit = "selectable";
5819
- valInit = valInit !== "none";
5820
- } else if (keyInit === "textOverflow") {
5891
+ if (keyInit === "textOverflow") {
5821
5892
  if (isText && valInit === "ellipsis") {
5822
5893
  var _viewProps, _viewProps1;
5823
5894
  var _numberOfLines;
@@ -6155,26 +6226,47 @@ var getSplitStyles = function(props, staticConfig, theme, themeName, componentSt
6155
6226
  }
6156
6227
  }
6157
6228
  }
6229
+ var nativeTextMetrics;
6230
+ var _styleState_style2;
6158
6231
  if (viewProps.tabIndex === 0) {
6159
6232
  var _viewProps;
6160
6233
  var _accessible;
6161
6234
  (_accessible = (_viewProps = viewProps).accessible) !== null && _accessible !== void 0 || (_viewProps.accessible = true);
6162
6235
  }
6163
- var style = styleState.style;
6164
- if (style === null || style === void 0 ? void 0 : style.fontFamily) {
6236
+ if ((isText || isInput || staticConfig.isDOM) && !isHOC && (styleState.nativeLineHeight !== void 0 || ((_styleState_style2 = styleState.style) === null || _styleState_style2 === void 0 ? void 0 : _styleState_style2.fontSize) !== void 0 || (componentContext === null || componentContext === void 0 ? void 0 : componentContext.parentFontSize) !== void 0 || (componentContext === null || componentContext === void 0 ? void 0 : componentContext.parentLineHeight) !== void 0)) {
6237
+ var _parentSplitStyles_nativeTextMetrics;
6238
+ var _styleState2;
6239
+ var style = (_styleState2 = styleState).style || (_styleState2.style = {});
6240
+ var _styleState_nativeLineHeight;
6241
+ var lineHeight = (_styleState_nativeLineHeight = styleState.nativeLineHeight) !== null && _styleState_nativeLineHeight !== void 0 ? _styleState_nativeLineHeight : parentSplitStyles === null || parentSplitStyles === void 0 ? void 0 : (_parentSplitStyles_nativeTextMetrics = parentSplitStyles.nativeTextMetrics) === null || _parentSplitStyles_nativeTextMetrics === void 0 ? void 0 : _parentSplitStyles_nativeTextMetrics.lineHeight;
6242
+ if (typeof lineHeight === "string") {
6243
+ var length = resolveNativeUnits("lineHeight", lineHeight, styleState);
6244
+ if (typeof length === "number") lineHeight = `${length}px`;
6245
+ }
6246
+ nativeTextMetrics = resolveTextMetrics(style, lineHeight, componentContext, styleProps.isStatic, !staticConfig.isDOM && !(processedProps.asChild && isTamaguiElement(processedProps.children)));
6247
+ if (staticConfig.isDOM) viewProps.__textMetrics = nativeTextMetrics;
6248
+ var directText = styleState;
6249
+ var prevTextStyle = directText.flatPrevStyle;
6250
+ if (prevTextStyle && !directText.flatStyleChanged) {
6251
+ var resolvedTextStyle = styleState.style;
6252
+ if (resolvedTextStyle && (resolvedTextStyle.fontSize !== prevTextStyle.fontSize || resolvedTextStyle.lineHeight !== prevTextStyle.lineHeight)) directText.flatStyleChanged = true;
6253
+ }
6254
+ }
6255
+ var style1 = styleState.style;
6256
+ if (style1 === null || style1 === void 0 ? void 0 : style1.fontFamily) {
6165
6257
  var _getFont;
6166
- var faceInfo = (_getFont = getFont(style.fontFamily)) === null || _getFont === void 0 ? void 0 : _getFont.face;
6258
+ var faceInfo = (_getFont = getFont(style1.fontFamily)) === null || _getFont === void 0 ? void 0 : _getFont.face;
6167
6259
  if (faceInfo) {
6168
6260
  var _faceInfo_style_fontWeight_, _faceInfo_style_fontWeight;
6169
- var overrideFace = (_faceInfo_style_fontWeight = faceInfo[style.fontWeight]) === null || _faceInfo_style_fontWeight === void 0 ? void 0 : (_faceInfo_style_fontWeight_ = _faceInfo_style_fontWeight[style.fontStyle || "normal"]) === null || _faceInfo_style_fontWeight_ === void 0 ? void 0 : _faceInfo_style_fontWeight_.val;
6261
+ var overrideFace = (_faceInfo_style_fontWeight = faceInfo[style1.fontWeight]) === null || _faceInfo_style_fontWeight === void 0 ? void 0 : (_faceInfo_style_fontWeight_ = _faceInfo_style_fontWeight[style1.fontStyle || "normal"]) === null || _faceInfo_style_fontWeight_ === void 0 ? void 0 : _faceInfo_style_fontWeight_.val;
6170
6262
  if (overrideFace) {
6171
- style.fontFamily = overrideFace;
6263
+ style1.fontFamily = overrideFace;
6172
6264
  styleState.fontFamily = overrideFace;
6173
- delete style.fontWeight;
6174
- delete style.fontStyle;
6265
+ delete style1.fontWeight;
6266
+ delete style1.fontStyle;
6175
6267
  }
6176
6268
  }
6177
- if (globalThis.process.env.NODE_ENV === "development" && debug && debug !== "profile") log(`Found fontFamily native: ${style.fontFamily}`, faceInfo);
6269
+ if (globalThis.process.env.NODE_ENV === "development" && debug && debug !== "profile") log(`Found fontFamily native: ${style1.fontFamily}`, faceInfo);
6178
6270
  }
6179
6271
  if (styleState.style) styleState.style = normalizeNativeStyle(styleState.style);
6180
6272
  if (globalThis.process.env.NODE_ENV === "development" && (debug === "profile" || globalThis.time)) time`split-styles-pre-result`;
@@ -6204,6 +6296,7 @@ var getSplitStyles = function(props, staticConfig, theme, themeName, componentSt
6204
6296
  mediaGroups,
6205
6297
  overriddenContextProps: styleState.overriddenContextProps
6206
6298
  };
6299
+ if (nativeTextMetrics) result.nativeTextMetrics = nativeTextMetrics;
6207
6300
  if (effectiveTransition != null) result.effectiveTransition = effectiveTransition;
6208
6301
  if (conditionalStates) result.programStates = conditionalStates;
6209
6302
  if (usesSafeArea) result.usesSafeArea = true;
@@ -6219,8 +6312,8 @@ var getSplitStyles = function(props, staticConfig, theme, themeName, componentSt
6219
6312
  if (frontendContainerType !== void 0) result.frontendContainerType = frontendContainerType;
6220
6313
  if (!noMergeStyle) {
6221
6314
  if (!asChildExceptStyleLike) {
6222
- var style1 = styleState.style;
6223
- if (style1) viewProps.style = style1;
6315
+ var style2 = styleState.style;
6316
+ if (style2) viewProps.style = style2;
6224
6317
  }
6225
6318
  }
6226
6319
  if (globalThis.process.env.NODE_ENV === "development" && debug === "verbose") {
@@ -6321,7 +6414,8 @@ function mergeStyle(styleState, key, val) {
6321
6414
  addTransformValue(styleState.transformAccumulator, key, val);
6322
6415
  } else {
6323
6416
  var out = val;
6324
- if (typeof out === "string") {
6417
+ if (key === "lineHeight") styleState.nativeLineHeight = typeof out === "number" && isVariable(originalVal) && typeof originalVal.val === "number" ? `${out}px` : out;
6418
+ else if (typeof out === "string") {
6325
6419
  if (out.includes("cqi") || out.includes("cqw")) {
6326
6420
  var _styleState2, _styleState3;
6327
6421
  ((_styleState2 = styleState).flatGroupKeys || (_styleState2.flatGroupKeys = /* @__PURE__ */ new Set())).add("@");
@@ -6931,7 +7025,7 @@ function emitResolved(state, property, raw, cursor, originalValue, contextOnly)
6931
7025
  }
6932
7026
  function resolveValue(state, property, raw, nativeColors) {
6933
7027
  var value = typeof raw === "string" ? configuredValue(state, property, raw, true, nativeColors) : raw;
6934
- if (typeof value === "string" && value !== "" && true) value = resolveNumericValue(value);
7028
+ if (typeof value === "string" && value !== "" && property !== "lineHeight") value = resolveNumericValue(value);
6935
7029
  return value;
6936
7030
  }
6937
7031
  function shadowUnit(part) {
@@ -6940,7 +7034,13 @@ function shadowUnit(part) {
6940
7034
  function emitValue(state, property, raw, cursor, originalValue, contextOnly) {
6941
7035
  var condition = cursor ? cursor[conditionValue] : 0;
6942
7036
  var grammar = getConfigRevisionState(state.conf);
6943
- if (isVariable(raw)) raw = resolveVariableValue(property, raw, state.styleProps.resolveValues);
7037
+ if (isVariable(raw)) {
7038
+ raw = resolveVariableValue(property, raw, state.styleProps.resolveValues);
7039
+ if (property === "lineHeight") {
7040
+ emitProperty(state, property, raw, cursor, originalValue, contextOnly);
7041
+ return;
7042
+ }
7043
+ }
6944
7044
  if (typeof raw === "string" && (property === "transition" || property === "transitionProperty")) raw = grammar.normalizeTransition(raw);
6945
7045
  if ((property === "borderWidth" || property === "borderTopWidth" || property === "borderRightWidth" || property === "borderBottomWidth" || property === "borderLeftWidth") && state.styleProps.noNormalize !== false) writeStyleRecord(state, "borderStyle", "solid", cursor, originalValue, recordDefault);
6946
7046
  if (grammar.propertyKind(property) === 5) {
@@ -7031,7 +7131,9 @@ function emitValue(state, property, raw, cursor, originalValue, contextOnly) {
7031
7131
  emitProperty(state, property, value3, cursor, originalValue, contextOnly);
7032
7132
  return;
7033
7133
  }
7034
- if (typeof raw === "string" && expanded.length > 1) {
7134
+ if (typeof raw === "string" && expanded.length > 1 && expanded.every(function(entry) {
7135
+ return entry[1] === expanded[0][1];
7136
+ })) {
7035
7137
  var parts1 = splitComponents(raw);
7036
7138
  if (parts1.length > 0 && parts1.length <= (expanded.length === 4 ? 4 : 2)) {
7037
7139
  for (var index1 = 0; index1 < expanded.length; index1++) {
@@ -7192,6 +7294,7 @@ function contributeValue(state, property, value, originalValue) {
7192
7294
  }
7193
7295
  function clearDirectStyle(state, property) {
7194
7296
  var _direct_flatAtomics;
7297
+ if (property === "lineHeight") state.nativeLineHeight = void 0;
7195
7298
  var direct = state;
7196
7299
  if (direct.flatDynamicColors) delete direct.flatDynamicColors[property];
7197
7300
  var propertyKind = getConfigRevisionState(state.conf).propertyKind(property);
@@ -7227,6 +7330,18 @@ function emitVariantStyle(state, key, value, original, condition, disabled) {
7227
7330
  pass[passParentCursor] = parent;
7228
7331
  }
7229
7332
  //#endregion
7333
+ //#region ../web/dist/esm/helpers/NativeTextBinding.native.js
7334
+ function NativeTextBinding(param) {
7335
+ var { element, useTextMetrics, inheritedText, lineHeight, isInput } = param;
7336
+ var binding = useTextMetrics({
7337
+ inheritedText,
7338
+ lineHeight
7339
+ });
7340
+ if (!binding.style) return element;
7341
+ var Host = isInput ? binding.TextInput : binding.Text;
7342
+ return /* @__PURE__ */ (0, react.createElement)(Host, _objectSpread2(_objectSpread2({}, element.props), {}, { style: [element.props.style, binding.style] }));
7343
+ }
7344
+ //#endregion
7230
7345
  //#region ../web/dist/esm/helpers/mergeSlotStyleProps.native.js
7231
7346
  var isEventHandler = /^on[A-Z]/;
7232
7347
  function mergeSlotStyleProps(base, overlay) {
@@ -8279,7 +8394,7 @@ ${banner}
8279
8394
  var effectiveTransition2 = (_ref5 = (_nextStyles_effectiveTransition = nextStyles === null || nextStyles === void 0 ? void 0 : nextStyles.effectiveTransition) !== null && _nextStyles_effectiveTransition !== void 0 ? _nextStyles_effectiveTransition : props.transition) !== null && _ref5 !== void 0 ? _ref5 : platformPseudo ? "0ms" : void 0;
8280
8395
  stateRef.current.prevPseudoState = extractPseudoState(updatedState);
8281
8396
  var hasActivePseudo = Boolean(updatedState.hover || updatedState.press || updatedState.pressIn || updatedState.focus || updatedState.focusWithin);
8282
- useStyleListener((nextStyles === null || nextStyles === void 0 ? void 0 : nextStyles.style) || {}, effectiveTransition2, hasActivePseudo);
8397
+ useStyleListener((nextStyles === null || nextStyles === void 0 ? void 0 : nextStyles.style) || {}, effectiveTransition2, hasActivePseudo, nextStyles === null || nextStyles === void 0 ? void 0 : nextStyles.nativeTextMetrics);
8283
8398
  };
8284
8399
  componentContext.mediaEmitListeners = componentContext.mediaEmitListeners || /* @__PURE__ */ new Set();
8285
8400
  if (!stateRef.current.mediaEmitCleanup) {
@@ -8374,9 +8489,11 @@ ${banner}
8374
8489
  if (typeof onTransition !== "undefined") viewProps.onTransition = onTransition;
8375
8490
  }
8376
8491
  var animationStyles;
8492
+ var animatedText = isText && (splitStyles === null || splitStyles === void 0 ? void 0 : splitStyles.nativeTextMetrics) && !splitStyles.nativeTextMetrics.inheritsFontSize ? null : componentContext.animatedText;
8377
8493
  var shouldUseAnimation = (inputStyle === "css" ? willBeAnimatedClient : willBeAnimated) && useAnimations && !isHOC;
8378
8494
  var animatedRef;
8379
8495
  if (shouldUseAnimation) {
8496
+ var _splitStyles_nativeTextMetrics;
8380
8497
  var useStyleEmitter = (animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.avoidReRenders) ? function(listener) {
8381
8498
  stateRef.current.useStyleListener = listener;
8382
8499
  } : void 0;
@@ -8385,6 +8502,7 @@ ${banner}
8385
8502
  if (splitStyles) splitStyles.effectiveTransition = effectiveTransition;
8386
8503
  stateRef.current.prevPseudoState = extractPseudoState(state);
8387
8504
  var animations = useAnimations({
8505
+ inheritedText: (splitStyles === null || splitStyles === void 0 ? void 0 : (_splitStyles_nativeTextMetrics = splitStyles.nativeTextMetrics) === null || _splitStyles_nativeTextMetrics === void 0 ? void 0 : _splitStyles_nativeTextMetrics.inheritsFontSize) ? componentContext.animatedText : null,
8388
8506
  props: propsWithAnimation,
8389
8507
  style: isHydrated ? splitStylesStyle || {} : _objectSpread2({}, splitStylesStyle),
8390
8508
  styleState: splitStyles,
@@ -8399,6 +8517,7 @@ ${banner}
8399
8517
  onTransition
8400
8518
  });
8401
8519
  if (animations) {
8520
+ animatedText = animations.textChannel;
8402
8521
  if (animations.ref) animatedRef = animations.ref;
8403
8522
  if (isHydrated && animations) {
8404
8523
  animationStyles = animations.style;
@@ -8655,8 +8774,16 @@ ${banner}
8655
8774
  }
8656
8775
  }
8657
8776
  if (!content) {
8777
+ var _splitStyles_nativeTextMetrics1;
8658
8778
  if (isRenderPropString && elementType["acceptRenderProp"]) viewProps.render = renderProp;
8659
8779
  content = /* @__PURE__ */ react.default.createElement(elementType, viewProps, content || children);
8780
+ if (!shouldUseAnimation && !isHOC && !staticConfig.isDOM && !asChild && (splitStyles === null || splitStyles === void 0 ? void 0 : (_splitStyles_nativeTextMetrics1 = splitStyles.nativeTextMetrics) === null || _splitStyles_nativeTextMetrics1 === void 0 ? void 0 : _splitStyles_nativeTextMetrics1.inheritsFontSize) && componentContext.animatedText && (animationDriver === null || animationDriver === void 0 ? void 0 : animationDriver.useTextMetrics)) content = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NativeTextBinding, {
8781
+ element: content,
8782
+ useTextMetrics: animationDriver.useTextMetrics,
8783
+ inheritedText: componentContext.animatedText,
8784
+ lineHeight: splitStyles.nativeTextMetrics.lineHeight,
8785
+ isInput: staticConfig.isInput
8786
+ });
8660
8787
  }
8661
8788
  if (globalThis.process.env.NODE_ENV === "development" && time$1) time$1`use-children`;
8662
8789
  }
@@ -8670,14 +8797,24 @@ ${banner}
8670
8797
  children: content
8671
8798
  });
8672
8799
  if (globalThis.process.env.NODE_ENV === "development" && time$1) time$1`create-element`;
8673
- if (conditionalStates === null || conditionalStates === void 0 ? void 0 : conditionalStates.has("focus-within")) content = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ComponentContext.Provider, _objectSpread2(_objectSpread2({}, componentContext), {}, {
8674
- setParentFocusState: setStateShallow,
8675
- children: content
8676
- }));
8677
8800
  if (groupName || isContainer) content = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GroupContext.Provider, {
8678
8801
  value: allGroupContexts,
8679
8802
  children: content
8680
8803
  });
8804
+ var textMetrics = !staticConfig.isDOM && !isHOC && isText && !(asChild && isTamaguiElement(children)) ? splitStyles === null || splitStyles === void 0 ? void 0 : splitStyles.nativeTextMetrics : void 0;
8805
+ var provideText = !!textMetrics && children !== null && typeof children === "object" && (!componentContext.inText || textMetrics.fontSize !== componentContext.parentFontSize || textMetrics.lineHeight !== componentContext.parentLineHeight || animatedText !== componentContext.animatedText);
8806
+ var provideFocus = conditionalStates === null || conditionalStates === void 0 ? void 0 : conditionalStates.has("focus-within");
8807
+ if (provideText || provideFocus) {
8808
+ var _textMetrics_fontSize;
8809
+ content = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ComponentContext.Provider, _objectSpread2(_objectSpread2({}, componentContext), {}, {
8810
+ inText: provideText || componentContext.inText,
8811
+ parentFontSize: (_textMetrics_fontSize = textMetrics === null || textMetrics === void 0 ? void 0 : textMetrics.fontSize) !== null && _textMetrics_fontSize !== void 0 ? _textMetrics_fontSize : componentContext.parentFontSize,
8812
+ parentLineHeight: textMetrics ? textMetrics.lineHeight : componentContext.parentLineHeight,
8813
+ animatedText,
8814
+ setParentFocusState: provideFocus ? setStateShallow : componentContext.setParentFocusState,
8815
+ children: content
8816
+ }));
8817
+ }
8681
8818
  if (globalThis.process.env.NODE_ENV === "development" && time$1) time$1`group-context`;
8682
8819
  content = disableTheme || !splitStyles ? content : getThemedChildren(themeState, content, themeStateProps, false, stateRef);
8683
8820
  if (globalThis.process.env.NODE_ENV === "development" && time$1) time$1`themed-children`;
@@ -8812,17 +8949,6 @@ var getMutatedAutoVariableCSS = function() {
8812
8949
  return serializeVariables(mutatedAutoVariables);
8813
8950
  };
8814
8951
  //#endregion
8815
- //#region ../web/dist/esm/helpers/isTamaguiComponent.native.js
8816
- function isTamaguiComponent(comp) {
8817
- var config = comp === null || comp === void 0 ? void 0 : comp["staticConfig"];
8818
- return Boolean(config);
8819
- }
8820
- //#endregion
8821
- //#region ../web/dist/esm/helpers/isTamaguiElement.native.js
8822
- var isTamaguiElement = function(child) {
8823
- return /* @__PURE__ */ react.default.isValidElement(child) && isTamaguiComponent(child.type);
8824
- };
8825
- //#endregion
8826
8952
  //#region ../web/dist/esm/helpers/splitStyleProps.native.js
8827
8953
  function splitStyleProps(props) {
8828
8954
  var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -9712,16 +9838,6 @@ function createTamagui$2(configIn) {
9712
9838
  var defaultFont = (_configIn_settings = configIn.settings) === null || _configIn_settings === void 0 ? void 0 : _configIn_settings.defaultFont;
9713
9839
  var defaultFontToken = (defaultFont ? defaultFont : (fontsParsed === null || fontsParsed === void 0 ? void 0 : fontsParsed.body) ? "body" : Object.keys(fontsParsed || {})[0]) || "";
9714
9840
  if (defaultFont && !(fontsParsed === null || fontsParsed === void 0 ? void 0 : fontsParsed[defaultFontToken])) throw new Error(`settings.defaultFont points to missing font "${defaultFontToken}". Configure fonts.${defaultFont} or choose an existing default.`);
9715
- if (globalThis.process.env.NODE_ENV === "development" && configIn.sizes && fontsParsed) {
9716
- var _fontsParsed_defaultFontToken;
9717
- var _fontsParsed_defaultFontToken_size;
9718
- var fontSizes = (_fontsParsed_defaultFontToken_size = (_fontsParsed_defaultFontToken = fontsParsed[defaultFontToken]) === null || _fontsParsed_defaultFontToken === void 0 ? void 0 : _fontsParsed_defaultFontToken.size) !== null && _fontsParsed_defaultFontToken_size !== void 0 ? _fontsParsed_defaultFontToken_size : {};
9719
- var missing = Object.entries(configIn.sizes).flatMap(function(param) {
9720
- var [name2, spec] = param;
9721
- return typeof spec === "object" && !(spec.fontSize in fontSizes) ? [`${name2} (fontSize "${spec.fontSize}")`] : [];
9722
- });
9723
- if (missing.length) console.error(`fonts.${defaultFontToken} lacks the font size keys these named sizes use: ${missing.join(", ")}. Wrap the font with withTailwindTypeScale from @tamagui/config/v6, or give "sizes" keys your fonts define.`);
9724
- }
9725
9841
  var themeConfig = (function() {
9726
9842
  var cssRuleSets = buildCSSRuleSets(createTokenCSS(tokens, shouldTokenCategoryHaveUnits), createFontCSS(fontsParsed, registerFontVariables), defaultFontToken);
9727
9843
  var themesIn = configIn.themes;
@@ -10326,16 +10442,26 @@ var _excluded$1 = [
10326
10442
  "__tag",
10327
10443
  "ref"
10328
10444
  ];
10329
- var _excluded2 = ["__inheritedStyles", "onClick"];
10330
- var _excluded3 = ["__inheritedStyles", "onClick"];
10445
+ var _excluded2 = [
10446
+ "__inheritedStyles",
10447
+ "__textMetrics",
10448
+ "onClick"
10449
+ ];
10450
+ var _excluded3 = [
10451
+ "__inheritedStyles",
10452
+ "__textMetrics",
10453
+ "onClick"
10454
+ ];
10331
10455
  var _excluded4 = [
10332
10456
  "__inheritedStyles",
10457
+ "__textMetrics",
10333
10458
  "onClick",
10334
10459
  "onLoad",
10335
10460
  "onError"
10336
10461
  ];
10337
10462
  var _excluded5 = [
10338
10463
  "__inheritedStyles",
10464
+ "__textMetrics",
10339
10465
  "onChange",
10340
10466
  "onInput",
10341
10467
  "onKeyDown"
@@ -10574,10 +10700,12 @@ function hasInheritableStyle(style) {
10574
10700
  }
10575
10701
  return false;
10576
10702
  }
10577
- function resolveInheritedTextStyle(style, parent) {
10703
+ function resolveInheritedTextStyle(style, parent, context, authoredMetrics) {
10578
10704
  var values = (Array.isArray(style) ? style.flat(Infinity) : [style]).filter(Boolean);
10579
10705
  var inherited = _objectSpread2({}, parent.style);
10580
- var lineHeightMultiplier = parent.lineHeightMultiplier;
10706
+ if (context.parentFontSize !== void 0) inherited.fontSize = context.parentFontSize;
10707
+ var lineHeight;
10708
+ var ownsFontSize = false;
10581
10709
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
10582
10710
  try {
10583
10711
  for (var _iterator = values[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
@@ -10592,10 +10720,10 @@ function resolveInheritedTextStyle(style, parent) {
10592
10720
  if (!(property in parent.style)) inherited[property] = void 0;
10593
10721
  continue;
10594
10722
  }
10595
- if (property === "lineHeight" && typeof next === "number") lineHeightMultiplier = next;
10723
+ if (property === "lineHeight") lineHeight = typeof next === "number" ? `${next}px` : next;
10596
10724
  else {
10725
+ if (property === "fontSize") ownsFontSize = true;
10597
10726
  inherited[property] = typeof next === "string" && /^-?(?:\d+\.?\d*|\.\d+)px$/.test(next) ? Number(next.slice(0, -2)) : next;
10598
- if (property === "lineHeight") lineHeightMultiplier = void 0;
10599
10727
  }
10600
10728
  }
10601
10729
  } catch (err) {
@@ -10619,22 +10747,33 @@ function resolveInheritedTextStyle(style, parent) {
10619
10747
  if (_didIteratorError) throw _iteratorError;
10620
10748
  }
10621
10749
  }
10622
- if (lineHeightMultiplier !== void 0) inherited.lineHeight = typeof inherited.fontSize === "number" ? lineHeightMultiplier * inherited.fontSize : lineHeightMultiplier;
10750
+ if ((authoredMetrics === null || authoredMetrics === void 0 ? void 0 : authoredMetrics.fontSize) !== void 0 && !authoredMetrics.inheritsFontSize) {
10751
+ inherited.fontSize = authoredMetrics.fontSize;
10752
+ ownsFontSize = true;
10753
+ }
10754
+ if (!ownsFontSize && context.animatedText) delete inherited.fontSize;
10623
10755
  return {
10624
10756
  style: inherited,
10625
- lineHeightMultiplier
10757
+ metrics: resolveTextMetrics(inherited, authoredMetrics ? authoredMetrics.lineHeight : lineHeight, context)
10626
10758
  };
10627
10759
  }
10628
10760
  function DOMViewWithInheritedStyle(param) {
10629
10761
  var { props, style } = param;
10630
- var value = resolveInheritedTextStyle(style, (0, react.useContext)(inheritedTextStyleContext));
10631
- return (0, react_jsx_runtime.jsx)(inheritedTextStyleContext.Provider, {
10632
- value,
10633
- children: renderDOMView(props)
10634
- });
10762
+ var parent = (0, react.useContext)(inheritedTextStyleContext);
10763
+ var context = (0, react.useContext)(ComponentContext);
10764
+ var value = resolveInheritedTextStyle(style, parent, context, props.__textMetrics);
10765
+ return (0, react_jsx_runtime.jsx)(ComponentContext.Provider, _objectSpread2(_objectSpread2({}, context), {}, {
10766
+ parentFontSize: value.metrics.fontSize,
10767
+ parentLineHeight: value.metrics.lineHeight,
10768
+ animatedText: value.metrics.inheritsFontSize ? context.animatedText : null,
10769
+ children: (0, react_jsx_runtime.jsx)(inheritedTextStyleContext.Provider, {
10770
+ value,
10771
+ children: renderDOMView(props)
10772
+ })
10773
+ }));
10635
10774
  }
10636
10775
  function resolvedDOMView(props) {
10637
- if (!hasInheritableStyle(props.style) && !hasInheritableStyle(props.__inheritedStyles)) return renderDOMView(props);
10776
+ if (!props.__textMetrics && !hasInheritableStyle(props.style) && !hasInheritableStyle(props.__inheritedStyles)) return renderDOMView(props);
10638
10777
  return (0, react_jsx_runtime.jsx)(DOMViewWithInheritedStyle, {
10639
10778
  props,
10640
10779
  style: [props.style, props.__inheritedStyles]
@@ -10643,24 +10782,50 @@ function resolvedDOMView(props) {
10643
10782
  function DOMTextWithInheritedStyle(param) {
10644
10783
  var { props } = param;
10645
10784
  var parent = (0, react.useContext)(inheritedTextStyleContext);
10646
- var value = resolveInheritedTextStyle([props.style, props.__inheritedStyles], parent);
10647
- var resolved = _objectSpread2(_objectSpread2({}, props), {}, { style: [props.style, value.style] });
10648
- return (0, react_jsx_runtime.jsx)(inheritedTextStyleContext.Provider, {
10649
- value,
10650
- children: renderDOMText(resolved)
10785
+ var context = (0, react.useContext)(ComponentContext);
10786
+ var value = resolveInheritedTextStyle([props.style, props.__inheritedStyles], parent, context, props.__textMetrics);
10787
+ var content = renderDOMText(_objectSpread2(_objectSpread2({}, props), {}, { style: [props.style, value.style] }));
10788
+ var _context_animationDriver;
10789
+ var driver = context.animatedText && ((_context_animationDriver = context.animationDriver) !== null && _context_animationDriver !== void 0 ? _context_animationDriver : getConfig().animations);
10790
+ if (value.metrics.inheritsFontSize && context.animatedText && (driver === null || driver === void 0 ? void 0 : driver.useTextMetrics)) content = (0, react_jsx_runtime.jsx)(NativeTextBinding, {
10791
+ element: content,
10792
+ useTextMetrics: driver.useTextMetrics,
10793
+ inheritedText: context.animatedText,
10794
+ lineHeight: value.metrics.lineHeight
10651
10795
  });
10796
+ return (0, react_jsx_runtime.jsx)(ComponentContext.Provider, _objectSpread2(_objectSpread2({}, context), {}, {
10797
+ inText: true,
10798
+ parentFontSize: value.metrics.fontSize,
10799
+ parentLineHeight: value.metrics.lineHeight,
10800
+ animatedText: value.metrics.inheritsFontSize ? context.animatedText : null,
10801
+ children: (0, react_jsx_runtime.jsx)(inheritedTextStyleContext.Provider, {
10802
+ value,
10803
+ children: content
10804
+ })
10805
+ }));
10652
10806
  }
10653
10807
  function resolvedDOMText(props) {
10654
- return props.__inherit ? (0, react_jsx_runtime.jsx)(DOMTextWithInheritedStyle, { props: resolveDOMMetadata(props) }) : renderDOMText(resolveDOMMetadata(props));
10808
+ return props.__inherit || props.__textMetrics ? (0, react_jsx_runtime.jsx)(DOMTextWithInheritedStyle, { props: resolveDOMMetadata(props) }) : renderDOMText(resolveDOMMetadata(props));
10655
10809
  }
10656
10810
  function DOMTextInputWithInheritedStyle(param) {
10657
10811
  var { props } = param;
10658
10812
  var parent = (0, react.useContext)(inheritedTextStyleContext);
10659
- var inherited = resolveInheritedTextStyle([props.style, props.__inheritedStyles], parent);
10660
- return renderDOMTextInput(_objectSpread2(_objectSpread2({}, props), {}, { style: [props.style, inherited.style] }));
10813
+ var context = (0, react.useContext)(ComponentContext);
10814
+ var inherited = resolveInheritedTextStyle([props.style, props.__inheritedStyles], parent, context, props.__textMetrics);
10815
+ var resolved = _objectSpread2(_objectSpread2({}, props), {}, { style: [props.style, inherited.style] });
10816
+ var _context_animationDriver;
10817
+ var driver = context.animatedText && ((_context_animationDriver = context.animationDriver) !== null && _context_animationDriver !== void 0 ? _context_animationDriver : getConfig().animations);
10818
+ if (inherited.metrics.inheritsFontSize && context.animatedText && (driver === null || driver === void 0 ? void 0 : driver.useTextMetrics)) return (0, react_jsx_runtime.jsx)(NativeTextBinding, {
10819
+ element: renderDOMTextInput(resolved),
10820
+ useTextMetrics: driver.useTextMetrics,
10821
+ inheritedText: context.animatedText,
10822
+ lineHeight: inherited.metrics.lineHeight,
10823
+ isInput: true
10824
+ });
10825
+ return renderDOMTextInput(resolved);
10661
10826
  }
10662
10827
  function resolvedDOMTextInput(props) {
10663
- return props.__inherit ? (0, react_jsx_runtime.jsx)(DOMTextInputWithInheritedStyle, { props: resolveDOMMetadata(props) }) : renderDOMTextInput(resolveDOMMetadata(props));
10828
+ return props.__inherit || props.__textMetrics ? (0, react_jsx_runtime.jsx)(DOMTextInputWithInheritedStyle, { props: resolveDOMMetadata(props) }) : renderDOMTextInput(resolveDOMMetadata(props));
10664
10829
  }
10665
10830
  function withViewportRef(render, props) {
10666
10831
  var { scale } = useViewportScale_DO_NOT_USE();
@@ -10674,8 +10839,8 @@ function DOMViewWithViewportRef(props) {
10674
10839
  return withViewportRef(resolvedDOMView, props);
10675
10840
  }
10676
10841
  function renderDOMView(resolved) {
10677
- if (resolved.onClick === void 0 && !("__inheritedStyles" in resolved)) return (0, react_jsx_runtime.jsx)(react_native.View, resolved);
10678
- var { __inheritedStyles: _, onClick } = resolved, hostProps = _objectWithoutProperties(resolved, _excluded2);
10842
+ if (resolved.onClick === void 0 && !("__inheritedStyles" in resolved) && !("__textMetrics" in resolved)) return (0, react_jsx_runtime.jsx)(react_native.View, resolved);
10843
+ var { __inheritedStyles: _, __textMetrics: _metrics, onClick } = resolved, hostProps = _objectWithoutProperties(resolved, _excluded2);
10679
10844
  if (onClick === void 0) return (0, react_jsx_runtime.jsx)(react_native.View, hostProps);
10680
10845
  hostProps.onPress = clickFromPress(onClick);
10681
10846
  return (0, react_jsx_runtime.jsx)(react_native.Pressable, hostProps);
@@ -10688,8 +10853,8 @@ function DOMTextWithViewportRef(props) {
10688
10853
  return withViewportRef(resolvedDOMText, props);
10689
10854
  }
10690
10855
  function renderDOMText(resolved) {
10691
- if (resolved.onClick === void 0 && !("__inheritedStyles" in resolved)) return (0, react_jsx_runtime.jsx)(react_native.Text, resolved);
10692
- var { __inheritedStyles: _, onClick } = resolved, hostProps = _objectWithoutProperties(resolved, _excluded3);
10856
+ if (resolved.onClick === void 0 && !("__inheritedStyles" in resolved) && !("__textMetrics" in resolved)) return (0, react_jsx_runtime.jsx)(react_native.Text, resolved);
10857
+ var { __inheritedStyles: _, __textMetrics: _metrics, onClick } = resolved, hostProps = _objectWithoutProperties(resolved, _excluded3);
10693
10858
  if (onClick === void 0) return (0, react_jsx_runtime.jsx)(react_native.Text, hostProps);
10694
10859
  hostProps.onPress = clickFromPress(onClick);
10695
10860
  return (0, react_jsx_runtime.jsx)(react_native.Text, hostProps);
@@ -10702,8 +10867,8 @@ function DOMImageWithViewportRef(props) {
10702
10867
  return withViewportRef(renderDOMImage, props);
10703
10868
  }
10704
10869
  function renderDOMImage(resolved) {
10705
- if (resolved.onClick === void 0 && resolved.onLoad === void 0 && resolved.onError === void 0 && !("__inheritedStyles" in resolved)) return (0, react_jsx_runtime.jsx)(react_native.Image, resolved);
10706
- var { __inheritedStyles: _, onClick, onLoad, onError } = resolved, hostProps = _objectWithoutProperties(resolved, _excluded4);
10870
+ if (resolved.onClick === void 0 && resolved.onLoad === void 0 && resolved.onError === void 0 && !("__inheritedStyles" in resolved) && !("__textMetrics" in resolved)) return (0, react_jsx_runtime.jsx)(react_native.Image, resolved);
10871
+ var { __inheritedStyles: _, __textMetrics: _metrics, onClick, onLoad, onError } = resolved, hostProps = _objectWithoutProperties(resolved, _excluded4);
10707
10872
  if (onClick === void 0 && onLoad === void 0 && onError === void 0) return (0, react_jsx_runtime.jsx)(react_native.Image, hostProps);
10708
10873
  var next = hostProps;
10709
10874
  if (onClick) next.onPress = clickFromPress(onClick);
@@ -10719,8 +10884,8 @@ function DOMTextInputWithViewportRef(props) {
10719
10884
  return withViewportRef(resolvedDOMTextInput, props);
10720
10885
  }
10721
10886
  function renderDOMTextInput(resolved) {
10722
- if (resolved.onChange === void 0 && resolved.onInput === void 0 && resolved.onKeyDown === void 0 && !("__inheritedStyles" in resolved)) return (0, react_jsx_runtime.jsx)(react_native.TextInput, resolved);
10723
- var { __inheritedStyles: _, onChange, onInput, onKeyDown } = resolved, hostProps = _objectWithoutProperties(resolved, _excluded5);
10887
+ if (resolved.onChange === void 0 && resolved.onInput === void 0 && resolved.onKeyDown === void 0 && !("__inheritedStyles" in resolved) && !("__textMetrics" in resolved)) return (0, react_jsx_runtime.jsx)(react_native.TextInput, resolved);
10888
+ var { __inheritedStyles: _, __textMetrics: _metrics, onChange, onInput, onKeyDown } = resolved, hostProps = _objectWithoutProperties(resolved, _excluded5);
10724
10889
  if (onChange === void 0 && onInput === void 0 && onKeyDown === void 0) return (0, react_jsx_runtime.jsx)(react_native.TextInput, hostProps);
10725
10890
  var next = hostProps;
10726
10891
  var change = textEntryChange(onChange, onInput);
@@ -10728,27 +10893,27 @@ function renderDOMTextInput(resolved) {
10728
10893
  if (onKeyDown) next.onKeyPress = keyFromKeyPress(onKeyDown);
10729
10894
  return (0, react_jsx_runtime.jsx)(react_native.TextInput, next);
10730
10895
  }
10731
- createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
10896
+ createComponent(_objectSpread2(_objectSpread2({ isDOM: true }, viewStaticConfig), {}, {
10732
10897
  validStyles: _objectSpread2(_objectSpread2({}, viewStaticConfig.validStyles), textStaticConfig.validStyles),
10733
10898
  neverSkipProps: domEventProps,
10734
10899
  Component: DOMView,
10735
10900
  neverFlatten: true,
10736
10901
  displayName: "DOMRuntimeView"
10737
10902
  }));
10738
- createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
10903
+ createComponent(_objectSpread2(_objectSpread2({ isDOM: true }, textStaticConfig), {}, {
10739
10904
  neverSkipProps: domEventProps,
10740
10905
  Component: DOMText,
10741
10906
  neverFlatten: true,
10742
10907
  displayName: "DOMRuntimeText"
10743
10908
  }));
10744
- createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
10909
+ createComponent(_objectSpread2(_objectSpread2({ isDOM: true }, viewStaticConfig), {}, {
10745
10910
  validStyles: _objectSpread2(_objectSpread2({}, viewStaticConfig.validStyles), textStaticConfig.validStyles),
10746
10911
  neverSkipProps: domEventProps,
10747
10912
  Component: DOMImage,
10748
10913
  neverFlatten: true,
10749
10914
  displayName: "DOMRuntimeImage"
10750
10915
  }));
10751
- createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
10916
+ createComponent(_objectSpread2(_objectSpread2({ isDOM: true }, textStaticConfig), {}, {
10752
10917
  neverSkipProps: domEventProps,
10753
10918
  Component: DOMTextInput,
10754
10919
  neverFlatten: true,
@@ -11003,6 +11168,7 @@ var primitive = function(component) {
11003
11168
  var html = {
11004
11169
  a: domTag("a", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11005
11170
  validStyles: domValidStyles,
11171
+ isDOM: true,
11006
11172
  neverSkipProps: domEventProps,
11007
11173
  Component: primitive(DOMText),
11008
11174
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11015,6 +11181,7 @@ var html = {
11015
11181
  }),
11016
11182
  article: domTag("article", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11017
11183
  validStyles: domValidStyles,
11184
+ isDOM: true,
11018
11185
  neverSkipProps: domEventProps,
11019
11186
  Component: primitive(DOMView),
11020
11187
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11031,6 +11198,7 @@ var html = {
11031
11198
  })), { wrapsLiteralText: true }),
11032
11199
  aside: domTag("aside", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11033
11200
  validStyles: domValidStyles,
11201
+ isDOM: true,
11034
11202
  neverSkipProps: domEventProps,
11035
11203
  Component: primitive(DOMView),
11036
11204
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11047,6 +11215,7 @@ var html = {
11047
11215
  })), { wrapsLiteralText: true }),
11048
11216
  b: domTag("b", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11049
11217
  validStyles: domValidStyles,
11218
+ isDOM: true,
11050
11219
  neverSkipProps: domEventProps,
11051
11220
  Component: primitive(DOMText),
11052
11221
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11057,6 +11226,7 @@ var html = {
11057
11226
  })), { inherits: true }),
11058
11227
  bdi: domTag("bdi", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11059
11228
  validStyles: domValidStyles,
11229
+ isDOM: true,
11060
11230
  neverSkipProps: domEventProps,
11061
11231
  Component: primitive(DOMText),
11062
11232
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11066,6 +11236,7 @@ var html = {
11066
11236
  })), { inherits: true }),
11067
11237
  bdo: domTag("bdo", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11068
11238
  validStyles: domValidStyles,
11239
+ isDOM: true,
11069
11240
  neverSkipProps: domEventProps,
11070
11241
  Component: primitive(DOMText),
11071
11242
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11075,6 +11246,7 @@ var html = {
11075
11246
  })), { inherits: true }),
11076
11247
  blockquote: domTag("blockquote", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11077
11248
  validStyles: domValidStyles,
11249
+ isDOM: true,
11078
11250
  neverSkipProps: domEventProps,
11079
11251
  Component: primitive(DOMView),
11080
11252
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11091,6 +11263,7 @@ var html = {
11091
11263
  })), { wrapsLiteralText: true }),
11092
11264
  br: domTag("br", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11093
11265
  validStyles: domValidStyles,
11266
+ isDOM: true,
11094
11267
  neverSkipProps: domEventProps,
11095
11268
  Component: primitive(DOMText),
11096
11269
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11100,6 +11273,7 @@ var html = {
11100
11273
  })), { inherits: true }),
11101
11274
  button: domTag("button", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11102
11275
  validStyles: domValidStyles,
11276
+ isDOM: true,
11103
11277
  neverSkipProps: domEventProps,
11104
11278
  Component: primitive(DOMView),
11105
11279
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11113,6 +11287,7 @@ var html = {
11113
11287
  }),
11114
11288
  code: domTag("code", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11115
11289
  validStyles: domValidStyles,
11290
+ isDOM: true,
11116
11291
  neverSkipProps: domEventProps,
11117
11292
  Component: primitive(DOMText),
11118
11293
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11123,6 +11298,7 @@ var html = {
11123
11298
  })), { inherits: true }),
11124
11299
  del: domTag("del", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11125
11300
  validStyles: domValidStyles,
11301
+ isDOM: true,
11126
11302
  neverSkipProps: domEventProps,
11127
11303
  Component: primitive(DOMText),
11128
11304
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11133,6 +11309,7 @@ var html = {
11133
11309
  })), { inherits: true }),
11134
11310
  div: domTag("div", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11135
11311
  validStyles: domValidStyles,
11312
+ isDOM: true,
11136
11313
  neverSkipProps: domEventProps,
11137
11314
  Component: primitive(DOMView),
11138
11315
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11149,6 +11326,7 @@ var html = {
11149
11326
  })), { wrapsLiteralText: true }),
11150
11327
  em: domTag("em", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11151
11328
  validStyles: domValidStyles,
11329
+ isDOM: true,
11152
11330
  neverSkipProps: domEventProps,
11153
11331
  Component: primitive(DOMText),
11154
11332
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11159,6 +11337,7 @@ var html = {
11159
11337
  })), { inherits: true }),
11160
11338
  fieldset: domTag("fieldset", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11161
11339
  validStyles: domValidStyles,
11340
+ isDOM: true,
11162
11341
  neverSkipProps: domEventProps,
11163
11342
  Component: primitive(DOMView),
11164
11343
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11175,6 +11354,7 @@ var html = {
11175
11354
  })), { wrapsLiteralText: true }),
11176
11355
  footer: domTag("footer", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11177
11356
  validStyles: domValidStyles,
11357
+ isDOM: true,
11178
11358
  neverSkipProps: domEventProps,
11179
11359
  Component: primitive(DOMView),
11180
11360
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11191,6 +11371,7 @@ var html = {
11191
11371
  })), { wrapsLiteralText: true }),
11192
11372
  form: domTag("form", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11193
11373
  validStyles: domValidStyles,
11374
+ isDOM: true,
11194
11375
  neverSkipProps: domEventProps,
11195
11376
  Component: primitive(DOMView),
11196
11377
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11207,6 +11388,7 @@ var html = {
11207
11388
  })), { wrapsLiteralText: true }),
11208
11389
  h1: domTag("h1", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11209
11390
  validStyles: domValidStyles,
11391
+ isDOM: true,
11210
11392
  neverSkipProps: domEventProps,
11211
11393
  Component: primitive(DOMText),
11212
11394
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11228,6 +11410,7 @@ var html = {
11228
11410
  }),
11229
11411
  h2: domTag("h2", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11230
11412
  validStyles: domValidStyles,
11413
+ isDOM: true,
11231
11414
  neverSkipProps: domEventProps,
11232
11415
  Component: primitive(DOMText),
11233
11416
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11249,6 +11432,7 @@ var html = {
11249
11432
  }),
11250
11433
  h3: domTag("h3", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11251
11434
  validStyles: domValidStyles,
11435
+ isDOM: true,
11252
11436
  neverSkipProps: domEventProps,
11253
11437
  Component: primitive(DOMText),
11254
11438
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11270,6 +11454,7 @@ var html = {
11270
11454
  }),
11271
11455
  h4: domTag("h4", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11272
11456
  validStyles: domValidStyles,
11457
+ isDOM: true,
11273
11458
  neverSkipProps: domEventProps,
11274
11459
  Component: primitive(DOMText),
11275
11460
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11291,6 +11476,7 @@ var html = {
11291
11476
  }),
11292
11477
  h5: domTag("h5", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11293
11478
  validStyles: domValidStyles,
11479
+ isDOM: true,
11294
11480
  neverSkipProps: domEventProps,
11295
11481
  Component: primitive(DOMText),
11296
11482
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11312,6 +11498,7 @@ var html = {
11312
11498
  }),
11313
11499
  h6: domTag("h6", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11314
11500
  validStyles: domValidStyles,
11501
+ isDOM: true,
11315
11502
  neverSkipProps: domEventProps,
11316
11503
  Component: primitive(DOMText),
11317
11504
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11333,6 +11520,7 @@ var html = {
11333
11520
  }),
11334
11521
  header: domTag("header", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11335
11522
  validStyles: domValidStyles,
11523
+ isDOM: true,
11336
11524
  neverSkipProps: domEventProps,
11337
11525
  Component: primitive(DOMView),
11338
11526
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11352,6 +11540,7 @@ var html = {
11352
11540
  }),
11353
11541
  hr: domTag("hr", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11354
11542
  validStyles: domValidStyles,
11543
+ isDOM: true,
11355
11544
  neverSkipProps: domEventProps,
11356
11545
  Component: primitive(DOMView),
11357
11546
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11370,6 +11559,7 @@ var html = {
11370
11559
  })), { wrapsLiteralText: true }),
11371
11560
  i: domTag("i", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11372
11561
  validStyles: domValidStyles,
11562
+ isDOM: true,
11373
11563
  neverSkipProps: domEventProps,
11374
11564
  Component: primitive(DOMText),
11375
11565
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11380,6 +11570,7 @@ var html = {
11380
11570
  })), { inherits: true }),
11381
11571
  img: domTag("img", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11382
11572
  validStyles: domValidStyles,
11573
+ isDOM: true,
11383
11574
  neverSkipProps: domEventProps,
11384
11575
  Component: primitive(DOMImage),
11385
11576
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11390,6 +11581,7 @@ var html = {
11390
11581
  }))),
11391
11582
  input: domTag("input", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11392
11583
  validStyles: domValidStyles,
11584
+ isDOM: true,
11393
11585
  neverSkipProps: domEventProps,
11394
11586
  Component: primitive(DOMTextInput),
11395
11587
  isInput: true,
@@ -11404,6 +11596,7 @@ var html = {
11404
11596
  }),
11405
11597
  ins: domTag("ins", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11406
11598
  validStyles: domValidStyles,
11599
+ isDOM: true,
11407
11600
  neverSkipProps: domEventProps,
11408
11601
  Component: primitive(DOMText),
11409
11602
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11414,6 +11607,7 @@ var html = {
11414
11607
  })), { inherits: true }),
11415
11608
  kbd: domTag("kbd", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11416
11609
  validStyles: domValidStyles,
11610
+ isDOM: true,
11417
11611
  neverSkipProps: domEventProps,
11418
11612
  Component: primitive(DOMText),
11419
11613
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11424,6 +11618,7 @@ var html = {
11424
11618
  })), { inherits: true }),
11425
11619
  label: domTag("label", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11426
11620
  validStyles: domValidStyles,
11621
+ isDOM: true,
11427
11622
  neverSkipProps: domEventProps,
11428
11623
  Component: primitive(DOMText),
11429
11624
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11433,6 +11628,7 @@ var html = {
11433
11628
  })), { inherits: true }),
11434
11629
  li: domTag("li", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11435
11630
  validStyles: domValidStyles,
11631
+ isDOM: true,
11436
11632
  neverSkipProps: domEventProps,
11437
11633
  Component: primitive(DOMView),
11438
11634
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11452,6 +11648,7 @@ var html = {
11452
11648
  }),
11453
11649
  main: domTag("main", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11454
11650
  validStyles: domValidStyles,
11651
+ isDOM: true,
11455
11652
  neverSkipProps: domEventProps,
11456
11653
  Component: primitive(DOMView),
11457
11654
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11468,6 +11665,7 @@ var html = {
11468
11665
  })), { wrapsLiteralText: true }),
11469
11666
  mark: domTag("mark", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11470
11667
  validStyles: domValidStyles,
11668
+ isDOM: true,
11471
11669
  neverSkipProps: domEventProps,
11472
11670
  Component: primitive(DOMText),
11473
11671
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11479,6 +11677,7 @@ var html = {
11479
11677
  })), { inherits: true }),
11480
11678
  nav: domTag("nav", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11481
11679
  validStyles: domValidStyles,
11680
+ isDOM: true,
11482
11681
  neverSkipProps: domEventProps,
11483
11682
  Component: primitive(DOMView),
11484
11683
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11495,6 +11694,7 @@ var html = {
11495
11694
  })), { wrapsLiteralText: true }),
11496
11695
  ol: domTag("ol", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11497
11696
  validStyles: domValidStyles,
11697
+ isDOM: true,
11498
11698
  neverSkipProps: domEventProps,
11499
11699
  Component: primitive(DOMView),
11500
11700
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11516,6 +11716,7 @@ var html = {
11516
11716
  option: unsupportedDOMTag("option", "native has no menu-based select control, so this tag is a native build error"),
11517
11717
  p: domTag("p", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11518
11718
  validStyles: domValidStyles,
11719
+ isDOM: true,
11519
11720
  neverSkipProps: domEventProps,
11520
11721
  Component: primitive(DOMText),
11521
11722
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11532,6 +11733,7 @@ var html = {
11532
11733
  })), { inherits: true }),
11533
11734
  pre: domTag("pre", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11534
11735
  validStyles: domValidStyles,
11736
+ isDOM: true,
11535
11737
  neverSkipProps: domEventProps,
11536
11738
  Component: primitive(DOMText),
11537
11739
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11549,6 +11751,7 @@ var html = {
11549
11751
  })), { inherits: true }),
11550
11752
  s: domTag("s", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11551
11753
  validStyles: domValidStyles,
11754
+ isDOM: true,
11552
11755
  neverSkipProps: domEventProps,
11553
11756
  Component: primitive(DOMText),
11554
11757
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11559,6 +11762,7 @@ var html = {
11559
11762
  })), { inherits: true }),
11560
11763
  section: domTag("section", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11561
11764
  validStyles: domValidStyles,
11765
+ isDOM: true,
11562
11766
  neverSkipProps: domEventProps,
11563
11767
  Component: primitive(DOMView),
11564
11768
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -11576,6 +11780,7 @@ var html = {
11576
11780
  select: unsupportedDOMTag("select", "native has no menu-based select control, so this tag is a native build error"),
11577
11781
  span: domTag("span", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11578
11782
  validStyles: domValidStyles,
11783
+ isDOM: true,
11579
11784
  neverSkipProps: domEventProps,
11580
11785
  Component: primitive(DOMText),
11581
11786
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11585,6 +11790,7 @@ var html = {
11585
11790
  })), { inherits: true }),
11586
11791
  strong: domTag("strong", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11587
11792
  validStyles: domValidStyles,
11793
+ isDOM: true,
11588
11794
  neverSkipProps: domEventProps,
11589
11795
  Component: primitive(DOMText),
11590
11796
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11595,6 +11801,7 @@ var html = {
11595
11801
  })), { inherits: true }),
11596
11802
  sub: domTag("sub", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11597
11803
  validStyles: domValidStyles,
11804
+ isDOM: true,
11598
11805
  neverSkipProps: domEventProps,
11599
11806
  Component: primitive(DOMText),
11600
11807
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11604,6 +11811,7 @@ var html = {
11604
11811
  })), { inherits: true }),
11605
11812
  sup: domTag("sup", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11606
11813
  validStyles: domValidStyles,
11814
+ isDOM: true,
11607
11815
  neverSkipProps: domEventProps,
11608
11816
  Component: primitive(DOMText),
11609
11817
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11613,6 +11821,7 @@ var html = {
11613
11821
  })), { inherits: true }),
11614
11822
  textarea: domTag("textarea", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11615
11823
  validStyles: domValidStyles,
11824
+ isDOM: true,
11616
11825
  neverSkipProps: domEventProps,
11617
11826
  Component: primitive(DOMTextInput),
11618
11827
  isInput: true,
@@ -11628,6 +11837,7 @@ var html = {
11628
11837
  }),
11629
11838
  u: domTag("u", createComponent(_objectSpread2(_objectSpread2({}, textStaticConfig), {}, {
11630
11839
  validStyles: domValidStyles,
11840
+ isDOM: true,
11631
11841
  neverSkipProps: domEventProps,
11632
11842
  Component: primitive(DOMText),
11633
11843
  defaultProps: _objectSpread2(_objectSpread2({}, textStaticConfig.defaultProps), {}, {
@@ -11638,6 +11848,7 @@ var html = {
11638
11848
  })), { inherits: true }),
11639
11849
  ul: domTag("ul", createComponent(_objectSpread2(_objectSpread2({}, viewStaticConfig), {}, {
11640
11850
  validStyles: domValidStyles,
11851
+ isDOM: true,
11641
11852
  neverSkipProps: domEventProps,
11642
11853
  Component: primitive(DOMView),
11643
11854
  defaultProps: _objectSpread2(_objectSpread2({}, viewStaticConfig.defaultProps), {}, {
@@ -12539,12 +12750,6 @@ exports.Configuration = Configuration;
12539
12750
  exports.FontLanguage = FontLanguage;
12540
12751
  exports.GroupContext = GroupContext;
12541
12752
  exports.LayoutMeasurementController = LayoutMeasurementController;
12542
- Object.defineProperty(exports, "SizeContext", {
12543
- enumerable: true,
12544
- get: function() {
12545
- return _tamagui_size.SizeContext;
12546
- }
12547
- });
12548
12753
  exports.Slot = Slot;
12549
12754
  exports.Slottable = Slottable;
12550
12755
  exports.StyleObjectIdentifier = StyleObjectIdentifier;
@@ -12575,12 +12780,6 @@ exports.createComponent = createComponent;
12575
12780
  exports.createFont = createFont;
12576
12781
  exports.createRefComponent = createRefComponent;
12577
12782
  exports.createShorthands = createShorthands;
12578
- Object.defineProperty(exports, "createSizeContext", {
12579
- enumerable: true,
12580
- get: function() {
12581
- return _tamagui_size.createSizeContext;
12582
- }
12583
- });
12584
12783
  exports.createStyledContext = createStyledContext;
12585
12784
  exports.createStyledHOC = createStyledHOC;
12586
12785
  exports.createTamagui = createTamagui;
@@ -12653,22 +12852,11 @@ exports.nonAnimatableWebTextProps = nonAnimatableWebTextProps;
12653
12852
  exports.nonAnimatableWebViewProps = nonAnimatableWebViewProps;
12654
12853
  exports.normalizeColor = normalizeColor;
12655
12854
  exports.normalizeStyle = normalizeStyle;
12656
- Object.defineProperty(exports, "oneSizeSmaller", {
12657
- enumerable: true,
12658
- get: function() {
12659
- return _tamagui_size.oneSizeSmaller;
12660
- }
12661
- });
12662
12855
  exports.px = px;
12663
12856
  exports.registerLayoutNode = registerLayoutNode;
12664
12857
  exports.removeNativeStyleScope = removeNativeStyleScope;
12665
12858
  exports.reservedThemeProps = reservedThemeProps;
12666
- Object.defineProperty(exports, "resolveSize", {
12667
- enumerable: true,
12668
- get: function() {
12669
- return _tamagui_size.resolveSize;
12670
- }
12671
- });
12859
+ exports.resolveTextMetrics = resolveTextMetrics;
12672
12860
  exports.resolveThemeName = resolveThemeName;
12673
12861
  exports.setConfig = setConfig;
12674
12862
  exports.setMediaState = setMediaState;