@tamagui/web 3.0.0-beta.924.1 → 3.0.0
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/cjs/_withNativeStyle.cjs +3 -0
- package/dist/cjs/_withNativeStyle.native.cjs +3 -0
- package/dist/cjs/_withNativeStyle.native.js +3 -0
- package/dist/cjs/_withNativeStyle.native.js.map +1 -1
- package/dist/cjs/_withStableStyle.native.cjs +1 -5
- package/dist/cjs/_withStableStyle.native.js +1 -5
- package/dist/cjs/_withStableStyle.native.js.map +1 -1
- package/dist/cjs/config.cjs +6 -3
- package/dist/cjs/config.native.cjs +7 -5
- package/dist/cjs/config.native.js +7 -5
- package/dist/cjs/config.native.js.map +1 -1
- package/dist/cjs/contexts/ComponentContext.cjs +1 -0
- package/dist/cjs/contexts/ComponentContext.native.cjs +8 -0
- package/dist/cjs/contexts/ComponentContext.native.js +8 -0
- package/dist/cjs/contexts/ComponentContext.native.js.map +1 -1
- package/dist/cjs/createComponent.cjs +46 -32
- package/dist/cjs/createComponent.native.cjs +92 -72
- package/dist/cjs/createComponent.native.js +92 -72
- package/dist/cjs/createComponent.native.js.map +1 -1
- package/dist/cjs/createTamagui.cjs +32 -14
- package/dist/cjs/createTamagui.native.cjs +33 -19
- package/dist/cjs/createTamagui.native.js +33 -19
- package/dist/cjs/createTamagui.native.js.map +1 -1
- package/dist/cjs/createTokens.native.cjs +1 -5
- package/dist/cjs/createTokens.native.js +1 -5
- package/dist/cjs/createTokens.native.js.map +1 -1
- package/dist/cjs/createVariable.native.cjs +1 -5
- package/dist/cjs/createVariable.native.js +1 -5
- package/dist/cjs/createVariable.native.js.map +1 -1
- package/dist/cjs/createVariables.native.cjs +2 -6
- package/dist/cjs/createVariables.native.js +2 -6
- package/dist/cjs/createVariables.native.js.map +1 -1
- package/dist/cjs/dom/html.cjs +87 -329
- package/dist/cjs/dom/html.native.cjs +53 -2
- package/dist/cjs/dom/html.native.js +53 -2
- package/dist/cjs/dom/html.native.js.map +1 -1
- package/dist/cjs/{helpers/timer.native.js → dom/htmlReset.cjs} +6 -12
- package/dist/cjs/{helpers/timer.native.cjs → dom/htmlReset.native.cjs} +6 -8
- package/dist/cjs/dom/htmlReset.native.js +30 -0
- package/dist/cjs/dom/htmlReset.native.js.map +1 -0
- package/dist/cjs/dom/htmlRuntime.native.cjs +4 -0
- package/dist/cjs/dom/htmlRuntime.native.js +4 -0
- package/dist/cjs/dom/htmlRuntime.native.js.map +1 -1
- package/dist/cjs/dom/htmlStaticConfig.cjs +44 -0
- package/dist/cjs/dom/htmlStaticConfig.native.cjs +46 -0
- package/dist/cjs/dom/htmlStaticConfig.native.js +48 -0
- package/dist/cjs/dom/htmlStaticConfig.native.js.map +1 -0
- package/dist/cjs/dom/primitives.native.cjs +81 -34
- package/dist/cjs/dom/primitives.native.js +81 -34
- package/dist/cjs/dom/primitives.native.js.map +1 -1
- package/dist/cjs/eventHandling.cjs +10 -4
- package/dist/cjs/eventHandling.native.cjs +52 -16
- package/dist/cjs/eventHandling.native.js +52 -16
- package/dist/cjs/eventHandling.native.js.map +1 -1
- package/dist/cjs/helpers/NativeTextBinding.cjs +36 -0
- package/dist/cjs/helpers/NativeTextBinding.native.cjs +39 -0
- package/dist/cjs/helpers/NativeTextBinding.native.js +41 -0
- package/dist/cjs/helpers/NativeTextBinding.native.js.map +1 -0
- package/dist/cjs/helpers/configVariables.native.cjs +2 -6
- package/dist/cjs/helpers/configVariables.native.js +2 -6
- package/dist/cjs/helpers/configVariables.native.js.map +1 -1
- package/dist/cjs/helpers/createDesignSystem.cjs +14 -10
- package/dist/cjs/helpers/createDesignSystem.native.cjs +5 -4
- package/dist/cjs/helpers/createDesignSystem.native.js +5 -4
- package/dist/cjs/helpers/createDesignSystem.native.js.map +1 -1
- package/dist/cjs/helpers/createStyledContext.native.cjs +1 -5
- package/dist/cjs/helpers/createStyledContext.native.js +1 -5
- package/dist/cjs/helpers/createStyledContext.native.js.map +1 -1
- package/dist/cjs/helpers/expandStyle.cjs +45 -1
- package/dist/cjs/helpers/expandStyle.native.cjs +38 -2
- package/dist/cjs/helpers/expandStyle.native.js +38 -2
- package/dist/cjs/helpers/expandStyle.native.js.map +1 -1
- package/dist/cjs/helpers/expandStyles.cjs +15 -3
- package/dist/cjs/helpers/expandStyles.native.cjs +14 -8
- package/dist/cjs/helpers/expandStyles.native.js +14 -8
- package/dist/cjs/helpers/expandStyles.native.js.map +1 -1
- package/dist/cjs/helpers/fluid.cjs +56 -0
- package/dist/cjs/helpers/fluid.native.cjs +58 -0
- package/dist/cjs/helpers/fluid.native.js +60 -0
- package/dist/cjs/helpers/fluid.native.js.map +1 -0
- package/dist/cjs/helpers/formatDiagnostic.native.cjs +2 -6
- package/dist/cjs/helpers/formatDiagnostic.native.js +2 -6
- package/dist/cjs/helpers/formatDiagnostic.native.js.map +1 -1
- package/dist/cjs/helpers/getCSSStylesAtomic.cjs +6 -6
- package/dist/cjs/helpers/getSplitStyles.cjs +366 -150
- package/dist/cjs/helpers/getSplitStyles.native.cjs +584 -184
- package/dist/cjs/helpers/getSplitStyles.native.js +584 -184
- package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
- package/dist/cjs/helpers/getThemeCSSRules.cjs +37 -25
- package/dist/cjs/helpers/grammarConfig.cjs +6 -14
- package/dist/cjs/helpers/grammarConfig.native.cjs +32 -22
- package/dist/cjs/helpers/grammarConfig.native.js +32 -22
- package/dist/cjs/helpers/grammarConfig.native.js.map +1 -1
- package/dist/cjs/helpers/insertStyleRule.cjs +11 -4
- package/dist/cjs/helpers/insertStyleRule.native.cjs +8 -11
- package/dist/cjs/helpers/insertStyleRule.native.js +8 -11
- package/dist/cjs/helpers/insertStyleRule.native.js.map +1 -1
- package/dist/cjs/helpers/isObj.native.cjs +1 -5
- package/dist/cjs/helpers/isObj.native.js +1 -5
- package/dist/cjs/helpers/isObj.native.js.map +1 -1
- package/dist/cjs/helpers/mainThreadPressEvents.native.cjs +48 -100
- package/dist/cjs/helpers/mainThreadPressEvents.native.js +48 -100
- package/dist/cjs/helpers/mainThreadPressEvents.native.js.map +1 -1
- package/dist/cjs/helpers/mergeProps.cjs +18 -21
- package/dist/cjs/helpers/mergeProps.native.cjs +20 -23
- package/dist/cjs/helpers/mergeProps.native.js +20 -23
- package/dist/cjs/helpers/mergeProps.native.js.map +1 -1
- package/dist/cjs/helpers/nativeOnlyProps.cjs +0 -1
- package/dist/cjs/helpers/nativeOnlyProps.native.cjs +0 -1
- package/dist/cjs/helpers/nativeOnlyProps.native.js +0 -1
- package/dist/cjs/helpers/nativeOnlyProps.native.js.map +1 -1
- package/dist/cjs/helpers/nativeTextMetrics.cjs +74 -0
- package/dist/cjs/helpers/nativeTextMetrics.native.cjs +77 -0
- package/dist/cjs/helpers/nativeTextMetrics.native.js +79 -0
- package/dist/cjs/helpers/nativeTextMetrics.native.js.map +1 -0
- package/dist/cjs/helpers/normalizeColor.native.cjs +17 -2
- package/dist/cjs/helpers/normalizeColor.native.js +17 -2
- package/dist/cjs/helpers/normalizeColor.native.js.map +1 -1
- package/dist/cjs/helpers/normalizeValueWithProperty.cjs +2 -1
- package/dist/cjs/helpers/normalizeValueWithProperty.native.cjs +3 -6
- package/dist/cjs/helpers/normalizeValueWithProperty.native.js +3 -6
- package/dist/cjs/helpers/normalizeValueWithProperty.native.js.map +1 -1
- package/dist/cjs/helpers/objectIdentityKey.native.cjs +1 -5
- package/dist/cjs/helpers/objectIdentityKey.native.js +1 -5
- package/dist/cjs/helpers/objectIdentityKey.native.js.map +1 -1
- package/dist/cjs/helpers/parseNativeStyle.cjs +187 -0
- package/dist/cjs/helpers/parseNativeStyle.native.cjs +6 -4
- package/dist/cjs/helpers/parseNativeStyle.native.js +6 -4
- package/dist/cjs/helpers/parseNativeStyle.native.js.map +1 -1
- package/dist/cjs/helpers/proxyThemeToParents.cjs +9 -2
- package/dist/cjs/helpers/proxyThemeToParents.native.cjs +28 -2
- package/dist/cjs/helpers/proxyThemeToParents.native.js +28 -2
- package/dist/cjs/helpers/proxyThemeToParents.native.js.map +1 -1
- package/dist/cjs/helpers/resolveAnimationDriver.native.cjs +1 -5
- package/dist/cjs/helpers/resolveAnimationDriver.native.js +1 -5
- package/dist/cjs/helpers/resolveAnimationDriver.native.js.map +1 -1
- package/dist/cjs/helpers/{timer.cjs → resolveNativeUnits.cjs} +12 -8
- package/dist/cjs/helpers/resolveNativeUnits.native.cjs +205 -0
- package/dist/cjs/helpers/resolveNativeUnits.native.js +207 -0
- package/dist/cjs/helpers/resolveNativeUnits.native.js.map +1 -0
- package/dist/cjs/helpers/resolveRem.native.cjs +18 -21
- package/dist/cjs/helpers/resolveRem.native.js +18 -21
- package/dist/cjs/helpers/resolveRem.native.js.map +1 -1
- package/dist/cjs/helpers/resolveSizing.cjs +124 -0
- package/dist/cjs/helpers/resolveSizing.native.cjs +133 -0
- package/dist/cjs/helpers/resolveSizing.native.js +135 -0
- package/dist/cjs/helpers/resolveSizing.native.js.map +1 -0
- package/dist/cjs/helpers/resolveVariableValue.cjs +7 -7
- package/dist/cjs/helpers/resolveVariableValue.native.cjs +7 -9
- package/dist/cjs/helpers/resolveVariableValue.native.js +7 -9
- package/dist/cjs/helpers/resolveVariableValue.native.js.map +1 -1
- package/dist/cjs/helpers/resolveVariantStyle.native.cjs +2 -6
- package/dist/cjs/helpers/resolveVariantStyle.native.js +2 -6
- package/dist/cjs/helpers/resolveVariantStyle.native.js.map +1 -1
- package/dist/cjs/helpers/skipProps.cjs +0 -1
- package/dist/cjs/helpers/skipProps.native.cjs +0 -1
- package/dist/cjs/helpers/skipProps.native.js +0 -1
- package/dist/cjs/helpers/skipProps.native.js.map +1 -1
- package/dist/cjs/helpers/styleFrontend.cjs +23 -1
- package/dist/cjs/helpers/styleFrontend.native.cjs +23 -1
- package/dist/cjs/helpers/styleFrontend.native.js +23 -1
- package/dist/cjs/helpers/styleFrontend.native.js.map +1 -1
- package/dist/cjs/helpers/styleStaticConfigCore.cjs +5 -4
- package/dist/cjs/helpers/styleStaticConfigCore.native.cjs +7 -4
- package/dist/cjs/helpers/styleStaticConfigCore.native.js +7 -4
- package/dist/cjs/helpers/styleStaticConfigCore.native.js.map +1 -1
- package/dist/cjs/helpers/styledDynamic.cjs +5 -0
- package/dist/cjs/helpers/styledDynamic.native.cjs +8 -7
- package/dist/cjs/helpers/styledDynamic.native.js +8 -7
- package/dist/cjs/helpers/styledDynamic.native.js.map +1 -1
- package/dist/cjs/helpers/subscribeToContextGroup.cjs +16 -7
- package/dist/cjs/helpers/subscribeToContextGroup.native.cjs +18 -8
- package/dist/cjs/helpers/subscribeToContextGroup.native.js +18 -8
- package/dist/cjs/helpers/subscribeToContextGroup.native.js.map +1 -1
- package/dist/cjs/helpers/themeRef.native.cjs +1 -5
- package/dist/cjs/helpers/themeRef.native.js +1 -5
- package/dist/cjs/helpers/themeRef.native.js.map +1 -1
- package/dist/cjs/helpers/themes.cjs +26 -11
- package/dist/cjs/helpers/themes.native.cjs +26 -11
- package/dist/cjs/helpers/themes.native.js +26 -11
- package/dist/cjs/helpers/themes.native.js.map +1 -1
- package/dist/cjs/helpers/tokenCategories.cjs +2 -2
- package/dist/cjs/helpers/tokenCategories.native.cjs +2 -2
- package/dist/cjs/helpers/tokenCategories.native.js +2 -2
- package/dist/cjs/helpers/tokenCategories.native.js.map +1 -1
- package/dist/cjs/helpers/variables.cjs +1 -1
- package/dist/cjs/helpers/variables.native.cjs +4 -8
- package/dist/cjs/helpers/variables.native.js +4 -8
- package/dist/cjs/helpers/variables.native.js.map +1 -1
- package/dist/cjs/helpers/warnOnce.cjs +6 -0
- package/dist/cjs/helpers/warnOnce.native.cjs +6 -0
- package/dist/cjs/helpers/warnOnce.native.js +6 -0
- package/dist/cjs/helpers/warnOnce.native.js.map +1 -1
- package/dist/cjs/helpers/webPropsToSkip.native.cjs +3 -3
- package/dist/cjs/helpers/webPropsToSkip.native.js +3 -3
- package/dist/cjs/helpers/webPropsToSkip.native.js.map +1 -1
- package/dist/cjs/helpers/wrapStyleTags.cjs +1 -1
- package/dist/cjs/helpers/wrapStyleTags.native.cjs +1 -1
- package/dist/cjs/helpers/wrapStyleTags.native.js +1 -1
- package/dist/cjs/helpers/wrapStyleTags.native.js.map +1 -1
- package/dist/cjs/hooks/useComponentState.native.cjs +1 -5
- package/dist/cjs/hooks/useComponentState.native.js +1 -5
- package/dist/cjs/hooks/useComponentState.native.js.map +1 -1
- package/dist/cjs/hooks/useMedia.cjs +27 -34
- package/dist/cjs/hooks/useMedia.native.cjs +45 -51
- package/dist/cjs/hooks/useMedia.native.js +45 -51
- package/dist/cjs/hooks/useMedia.native.js.map +1 -1
- package/dist/cjs/hooks/useSplitStyles.cjs +1 -1
- package/dist/cjs/hooks/useSplitStyles.native.cjs +1 -1
- package/dist/cjs/hooks/useSplitStyles.native.js +1 -1
- package/dist/cjs/hooks/useSplitStyles.native.js.map +1 -1
- package/dist/cjs/hooks/useThemeState.cjs +37 -47
- package/dist/cjs/hooks/useThemeState.native.cjs +44 -50
- package/dist/cjs/hooks/useThemeState.native.js +44 -50
- package/dist/cjs/hooks/useThemeState.native.js.map +1 -1
- package/dist/cjs/index.cjs +7 -0
- package/dist/cjs/index.native.cjs +7 -0
- package/dist/cjs/index.native.js +7 -0
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/internal-runtime.cjs +22 -0
- package/dist/cjs/internal-runtime.native.cjs +22 -0
- package/dist/cjs/internal-runtime.native.js +22 -0
- package/dist/cjs/internal-runtime.native.js.map +1 -1
- package/dist/cjs/static-resolve.native.cjs +2 -9
- package/dist/cjs/static-resolve.native.js +2 -9
- package/dist/cjs/static-resolve.native.js.map +1 -1
- package/dist/cjs/style.cjs +1 -1
- package/dist/cjs/style.native.cjs +4 -7
- package/dist/cjs/style.native.js +4 -7
- package/dist/cjs/style.native.js.map +1 -1
- package/dist/cjs/views/Theme.cjs +10 -17
- package/dist/cjs/views/Theme.native.cjs +9 -11
- package/dist/cjs/views/Theme.native.js +9 -11
- package/dist/cjs/views/Theme.native.js.map +1 -1
- package/dist/cjs/views/ThemeDebug.cjs +1 -1
- package/dist/cjs/views/ThemeUpdate.cjs +1 -1
- package/dist/cjs/views/ThemeUpdate.native.cjs +1 -1
- package/dist/cjs/views/ThemeUpdate.native.js +1 -1
- package/dist/cjs/views/ThemeUpdate.native.js.map +1 -1
- package/dist/esm/_withNativeStyle.mjs +4 -1
- package/dist/esm/_withNativeStyle.mjs.map +1 -1
- package/dist/esm/_withNativeStyle.native.js +4 -1
- package/dist/esm/_withNativeStyle.native.js.map +1 -1
- package/dist/esm/_withStableStyle.native.js +1 -5
- package/dist/esm/_withStableStyle.native.js.map +1 -1
- package/dist/esm/config.mjs +6 -3
- package/dist/esm/config.mjs.map +1 -1
- package/dist/esm/config.native.js +7 -5
- package/dist/esm/config.native.js.map +1 -1
- package/dist/esm/contexts/ComponentContext.mjs +9 -9
- package/dist/esm/contexts/ComponentContext.mjs.map +1 -1
- package/dist/esm/contexts/ComponentContext.native.js +16 -9
- package/dist/esm/contexts/ComponentContext.native.js.map +1 -1
- package/dist/esm/createComponent.mjs +45 -42
- package/dist/esm/createComponent.mjs.map +1 -1
- package/dist/esm/createComponent.native.js +93 -82
- package/dist/esm/createComponent.native.js.map +1 -1
- package/dist/esm/createTamagui.mjs +33 -15
- package/dist/esm/createTamagui.mjs.map +1 -1
- package/dist/esm/createTamagui.native.js +34 -20
- package/dist/esm/createTamagui.native.js.map +1 -1
- package/dist/esm/createTokens.native.js +1 -5
- package/dist/esm/createTokens.native.js.map +1 -1
- package/dist/esm/createVariable.native.js +1 -5
- package/dist/esm/createVariable.native.js.map +1 -1
- package/dist/esm/createVariables.native.js +2 -6
- package/dist/esm/createVariables.native.js.map +1 -1
- package/dist/esm/dom/html.mjs +87 -329
- package/dist/esm/dom/html.mjs.map +1 -1
- package/dist/esm/dom/html.native.js +53 -2
- package/dist/esm/dom/html.native.js.map +1 -1
- package/dist/esm/dom/htmlReset.mjs +6 -0
- package/dist/esm/dom/htmlReset.mjs.map +1 -0
- package/dist/esm/dom/htmlReset.native.js +6 -0
- package/dist/esm/dom/htmlReset.native.js.map +1 -0
- package/dist/esm/dom/htmlRuntime.native.js +4 -0
- package/dist/esm/dom/htmlRuntime.native.js.map +1 -1
- package/dist/esm/dom/htmlStaticConfig.mjs +22 -0
- package/dist/esm/dom/htmlStaticConfig.mjs.map +1 -0
- package/dist/esm/dom/htmlStaticConfig.native.js +22 -0
- package/dist/esm/dom/htmlStaticConfig.native.js.map +1 -0
- package/dist/esm/dom/primitives.native.js +81 -34
- package/dist/esm/dom/primitives.native.js.map +1 -1
- package/dist/esm/eventHandling.mjs +10 -4
- package/dist/esm/eventHandling.mjs.map +1 -1
- package/dist/esm/eventHandling.native.js +52 -16
- package/dist/esm/eventHandling.native.js.map +1 -1
- package/dist/esm/helpers/NativeTextBinding.mjs +17 -0
- package/dist/esm/helpers/NativeTextBinding.mjs.map +1 -0
- package/dist/esm/helpers/NativeTextBinding.native.js +18 -0
- package/dist/esm/helpers/NativeTextBinding.native.js.map +1 -0
- package/dist/esm/helpers/configVariables.native.js +2 -6
- package/dist/esm/helpers/configVariables.native.js.map +1 -1
- package/dist/esm/helpers/createDesignSystem.mjs +14 -10
- package/dist/esm/helpers/createDesignSystem.mjs.map +1 -1
- package/dist/esm/helpers/createDesignSystem.native.js +4 -4
- package/dist/esm/helpers/createDesignSystem.native.js.map +1 -1
- package/dist/esm/helpers/createStyledContext.native.js +1 -5
- package/dist/esm/helpers/createStyledContext.native.js.map +1 -1
- package/dist/esm/helpers/expandStyle.mjs +41 -1
- package/dist/esm/helpers/expandStyle.mjs.map +1 -1
- package/dist/esm/helpers/expandStyle.native.js +36 -3
- package/dist/esm/helpers/expandStyle.native.js.map +1 -1
- package/dist/esm/helpers/expandStyles.mjs +15 -3
- package/dist/esm/helpers/expandStyles.mjs.map +1 -1
- package/dist/esm/helpers/expandStyles.native.js +14 -8
- package/dist/esm/helpers/expandStyles.native.js.map +1 -1
- package/dist/esm/helpers/fluid.mjs +36 -0
- package/dist/esm/helpers/fluid.mjs.map +1 -0
- package/dist/esm/helpers/fluid.native.js +36 -0
- package/dist/esm/helpers/fluid.native.js.map +1 -0
- package/dist/esm/helpers/formatDiagnostic.native.js +2 -6
- package/dist/esm/helpers/formatDiagnostic.native.js.map +1 -1
- package/dist/esm/helpers/getCSSStylesAtomic.mjs +6 -6
- package/dist/esm/helpers/getCSSStylesAtomic.mjs.map +1 -1
- package/dist/esm/helpers/getSplitStyles.mjs +364 -150
- package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
- package/dist/esm/helpers/getSplitStyles.native.js +588 -188
- package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
- package/dist/esm/helpers/getThemeCSSRules.mjs +37 -25
- package/dist/esm/helpers/getThemeCSSRules.mjs.map +1 -1
- package/dist/esm/helpers/grammarConfig.mjs +6 -14
- package/dist/esm/helpers/grammarConfig.mjs.map +1 -1
- package/dist/esm/helpers/grammarConfig.native.js +32 -22
- package/dist/esm/helpers/grammarConfig.native.js.map +1 -1
- package/dist/esm/helpers/insertStyleRule.mjs +11 -4
- package/dist/esm/helpers/insertStyleRule.mjs.map +1 -1
- package/dist/esm/helpers/insertStyleRule.native.js +4 -4
- package/dist/esm/helpers/insertStyleRule.native.js.map +1 -1
- package/dist/esm/helpers/isObj.native.js +1 -5
- package/dist/esm/helpers/isObj.native.js.map +1 -1
- package/dist/esm/helpers/mainThreadPressEvents.native.js +48 -100
- package/dist/esm/helpers/mainThreadPressEvents.native.js.map +1 -1
- package/dist/esm/helpers/mergeProps.mjs +18 -21
- package/dist/esm/helpers/mergeProps.mjs.map +1 -1
- package/dist/esm/helpers/mergeProps.native.js +20 -23
- package/dist/esm/helpers/mergeProps.native.js.map +1 -1
- package/dist/esm/helpers/nativeOnlyProps.mjs +0 -1
- package/dist/esm/helpers/nativeOnlyProps.mjs.map +1 -1
- package/dist/esm/helpers/nativeOnlyProps.native.js +0 -1
- package/dist/esm/helpers/nativeOnlyProps.native.js.map +1 -1
- package/dist/esm/helpers/nativeTextMetrics.mjs +55 -0
- package/dist/esm/helpers/nativeTextMetrics.mjs.map +1 -0
- package/dist/esm/helpers/nativeTextMetrics.native.js +56 -0
- package/dist/esm/helpers/nativeTextMetrics.native.js.map +1 -0
- package/dist/esm/helpers/normalizeColor.native.js +17 -2
- package/dist/esm/helpers/normalizeColor.native.js.map +1 -1
- package/dist/esm/helpers/normalizeValueWithProperty.mjs +2 -1
- package/dist/esm/helpers/normalizeValueWithProperty.mjs.map +1 -1
- package/dist/esm/helpers/normalizeValueWithProperty.native.js +3 -6
- package/dist/esm/helpers/normalizeValueWithProperty.native.js.map +1 -1
- package/dist/esm/helpers/objectIdentityKey.native.js +1 -5
- package/dist/esm/helpers/objectIdentityKey.native.js.map +1 -1
- package/dist/esm/helpers/parseNativeStyle.mjs +168 -0
- package/dist/esm/helpers/parseNativeStyle.mjs.map +1 -0
- package/dist/esm/helpers/parseNativeStyle.native.js +4 -1
- package/dist/esm/helpers/parseNativeStyle.native.js.map +1 -1
- package/dist/esm/helpers/proxyThemeToParents.mjs +10 -2
- package/dist/esm/helpers/proxyThemeToParents.mjs.map +1 -1
- package/dist/esm/helpers/proxyThemeToParents.native.js +29 -2
- package/dist/esm/helpers/proxyThemeToParents.native.js.map +1 -1
- package/dist/esm/helpers/resolveAnimationDriver.native.js +1 -5
- package/dist/esm/helpers/resolveAnimationDriver.native.js.map +1 -1
- package/dist/esm/helpers/resolveNativeUnits.mjs +9 -0
- package/dist/esm/helpers/resolveNativeUnits.mjs.map +1 -0
- package/dist/esm/helpers/resolveNativeUnits.native.js +178 -0
- package/dist/esm/helpers/resolveNativeUnits.native.js.map +1 -0
- package/dist/esm/helpers/resolveRem.native.js +18 -21
- package/dist/esm/helpers/resolveRem.native.js.map +1 -1
- package/dist/esm/helpers/resolveSizing.mjs +102 -0
- package/dist/esm/helpers/resolveSizing.mjs.map +1 -0
- package/dist/esm/helpers/resolveSizing.native.js +109 -0
- package/dist/esm/helpers/resolveSizing.native.js.map +1 -0
- package/dist/esm/helpers/resolveVariableValue.mjs +7 -7
- package/dist/esm/helpers/resolveVariableValue.mjs.map +1 -1
- package/dist/esm/helpers/resolveVariableValue.native.js +7 -9
- package/dist/esm/helpers/resolveVariableValue.native.js.map +1 -1
- package/dist/esm/helpers/resolveVariantStyle.native.js +2 -6
- package/dist/esm/helpers/resolveVariantStyle.native.js.map +1 -1
- package/dist/esm/helpers/skipProps.mjs +0 -1
- package/dist/esm/helpers/skipProps.mjs.map +1 -1
- package/dist/esm/helpers/skipProps.native.js +0 -1
- package/dist/esm/helpers/skipProps.native.js.map +1 -1
- package/dist/esm/helpers/styleFrontend.mjs +20 -1
- package/dist/esm/helpers/styleFrontend.mjs.map +1 -1
- package/dist/esm/helpers/styleFrontend.native.js +20 -1
- package/dist/esm/helpers/styleFrontend.native.js.map +1 -1
- package/dist/esm/helpers/styleStaticConfigCore.mjs +5 -4
- package/dist/esm/helpers/styleStaticConfigCore.mjs.map +1 -1
- package/dist/esm/helpers/styleStaticConfigCore.native.js +7 -4
- package/dist/esm/helpers/styleStaticConfigCore.native.js.map +1 -1
- package/dist/esm/helpers/styledDynamic.mjs +5 -0
- package/dist/esm/helpers/styledDynamic.mjs.map +1 -1
- package/dist/esm/helpers/styledDynamic.native.js +8 -7
- package/dist/esm/helpers/styledDynamic.native.js.map +1 -1
- package/dist/esm/helpers/subscribeToContextGroup.mjs +16 -7
- package/dist/esm/helpers/subscribeToContextGroup.mjs.map +1 -1
- package/dist/esm/helpers/subscribeToContextGroup.native.js +18 -8
- package/dist/esm/helpers/subscribeToContextGroup.native.js.map +1 -1
- package/dist/esm/helpers/themeRef.native.js +1 -5
- package/dist/esm/helpers/themeRef.native.js.map +1 -1
- package/dist/esm/helpers/themes.mjs +20 -11
- package/dist/esm/helpers/themes.mjs.map +1 -1
- package/dist/esm/helpers/themes.native.js +20 -11
- package/dist/esm/helpers/themes.native.js.map +1 -1
- package/dist/esm/helpers/tokenCategories.mjs +2 -2
- package/dist/esm/helpers/tokenCategories.mjs.map +1 -1
- package/dist/esm/helpers/tokenCategories.native.js +2 -2
- package/dist/esm/helpers/tokenCategories.native.js.map +1 -1
- package/dist/esm/helpers/variables.mjs +1 -1
- package/dist/esm/helpers/variables.mjs.map +1 -1
- package/dist/esm/helpers/variables.native.js +4 -8
- package/dist/esm/helpers/variables.native.js.map +1 -1
- package/dist/esm/helpers/warnOnce.mjs +6 -1
- package/dist/esm/helpers/warnOnce.mjs.map +1 -1
- package/dist/esm/helpers/warnOnce.native.js +6 -1
- package/dist/esm/helpers/warnOnce.native.js.map +1 -1
- package/dist/esm/helpers/webPropsToSkip.native.js +3 -3
- package/dist/esm/helpers/webPropsToSkip.native.js.map +1 -1
- package/dist/esm/helpers/wrapStyleTags.mjs +1 -1
- package/dist/esm/helpers/wrapStyleTags.mjs.map +1 -1
- package/dist/esm/helpers/wrapStyleTags.native.js +1 -1
- package/dist/esm/helpers/wrapStyleTags.native.js.map +1 -1
- package/dist/esm/hooks/useComponentState.native.js +1 -5
- package/dist/esm/hooks/useComponentState.native.js.map +1 -1
- package/dist/esm/hooks/useMedia.mjs +27 -34
- package/dist/esm/hooks/useMedia.mjs.map +1 -1
- package/dist/esm/hooks/useMedia.native.js +45 -51
- package/dist/esm/hooks/useMedia.native.js.map +1 -1
- package/dist/esm/hooks/useSplitStyles.mjs +1 -1
- package/dist/esm/hooks/useSplitStyles.mjs.map +1 -1
- package/dist/esm/hooks/useSplitStyles.native.js +1 -1
- package/dist/esm/hooks/useSplitStyles.native.js.map +1 -1
- package/dist/esm/hooks/useThemeState.mjs +36 -48
- package/dist/esm/hooks/useThemeState.mjs.map +1 -1
- package/dist/esm/hooks/useThemeState.native.js +44 -50
- package/dist/esm/hooks/useThemeState.native.js.map +1 -1
- package/dist/esm/index.js +4 -1
- package/dist/esm/index.mjs +4 -1
- package/dist/esm/index.native.js +4 -1
- package/dist/esm/internal-runtime.mjs +22 -3
- package/dist/esm/internal-runtime.mjs.map +1 -1
- package/dist/esm/internal-runtime.native.js +22 -3
- package/dist/esm/internal-runtime.native.js.map +1 -1
- package/dist/esm/static-resolve.native.js +2 -9
- package/dist/esm/static-resolve.native.js.map +1 -1
- package/dist/esm/style.mjs +1 -1
- package/dist/esm/style.mjs.map +1 -1
- package/dist/esm/style.native.js +4 -7
- package/dist/esm/style.native.js.map +1 -1
- package/dist/esm/views/Theme.mjs +15 -14
- package/dist/esm/views/Theme.mjs.map +1 -1
- package/dist/esm/views/Theme.native.js +15 -15
- package/dist/esm/views/Theme.native.js.map +1 -1
- package/dist/esm/views/ThemeDebug.mjs +1 -1
- package/dist/esm/views/ThemeDebug.mjs.map +1 -1
- package/dist/esm/views/ThemeUpdate.mjs +1 -1
- package/dist/esm/views/ThemeUpdate.mjs.map +1 -1
- package/dist/esm/views/ThemeUpdate.native.js +1 -1
- package/dist/esm/views/ThemeUpdate.native.js.map +1 -1
- package/package.json +20 -18
- package/reset.css +11 -0
- package/src/_withNativeStyle.tsx +6 -1
- package/src/config.ts +6 -6
- package/src/contexts/ComponentContext.tsx +8 -0
- package/src/createComponent.tsx +177 -57
- package/src/createStyledHOC.tsx +25 -26
- package/src/createTamagui.ts +47 -28
- package/src/dom/contract.ts +4 -1
- package/src/dom/html.native.tsx +55 -2
- package/src/dom/html.tsx +189 -388
- package/src/dom/htmlReset.ts +15 -0
- package/src/dom/htmlRuntime.native.tsx +5 -0
- package/src/dom/htmlStaticConfig.ts +40 -0
- package/src/dom/primitives.native.tsx +138 -33
- package/src/dom/standalone.ts +2 -1
- package/src/dom/styleTypes.ts +82 -92
- package/src/eventHandling.native.ts +61 -11
- package/src/eventHandling.ts +19 -4
- package/src/helpers/NativeTextBinding.tsx +26 -0
- package/src/helpers/createDesignSystem.ts +24 -8
- package/src/helpers/expandStyle.ts +88 -4
- package/src/helpers/expandStyles.ts +6 -11
- package/src/helpers/fluid.ts +66 -0
- package/src/helpers/getCSSStylesAtomic.ts +11 -6
- package/src/helpers/getSplitStyles.tsx +1032 -296
- package/src/helpers/getThemeCSSRules.ts +73 -35
- package/src/helpers/grammarConfig.ts +23 -8
- package/src/helpers/insertStyleRule.tsx +14 -8
- package/src/helpers/mainThreadPressEvents.native.ts +65 -141
- package/src/helpers/mergeProps.ts +29 -62
- package/src/helpers/nativeOnlyProps.ts +0 -1
- package/src/helpers/nativeTextMetrics.ts +77 -0
- package/src/helpers/normalizeColor.native.ts +29 -4
- package/src/helpers/normalizeValueWithProperty.ts +2 -1
- package/src/helpers/{parseNativeStyle.native.ts → parseNativeStyle.ts} +8 -1
- package/src/helpers/proxyThemeToParents.ts +13 -2
- package/src/helpers/resolveNativeUnits.native.ts +247 -0
- package/src/helpers/resolveNativeUnits.ts +10 -0
- package/src/helpers/resolveRem.native.ts +25 -26
- package/src/helpers/resolveSizing.ts +167 -0
- package/src/helpers/resolveVariableValue.ts +21 -17
- package/src/helpers/skipProps.ts +0 -1
- package/src/helpers/styleFrontend.ts +39 -0
- package/src/helpers/styleProvenance.ts +1 -1
- package/src/helpers/styleStaticConfigCore.ts +15 -4
- package/src/helpers/styledDynamic.ts +3 -1
- package/src/helpers/subscribeToContextGroup.tsx +16 -7
- package/src/helpers/themes.ts +27 -11
- package/src/helpers/tokenCategories.ts +15 -3
- package/src/helpers/variables.ts +2 -2
- package/src/helpers/warnOnce.ts +6 -0
- package/src/helpers/webPropsToSkip.native.ts +9 -3
- package/src/helpers/wrapStyleTags.tsx +4 -1
- package/src/hooks/useMedia.tsx +36 -47
- package/src/hooks/useSplitStyles.tsx +4 -1
- package/src/hooks/useThemeState.ts +69 -74
- package/src/index.ts +13 -0
- package/src/interfaces/RNExclusiveTypes.ts +1 -3
- package/src/internal-runtime.ts +43 -2
- package/src/style.ts +4 -1
- package/src/styled.tsx +34 -3
- package/src/types.tsx +412 -132
- package/src/views/Theme.tsx +18 -21
- package/src/views/ThemeDebug.tsx +1 -1
- package/src/views/ThemeUpdate.tsx +1 -1
- package/types/_withNativeStyle.d.ts.map +1 -1
- package/types/config.d.ts.map +1 -1
- package/types/contexts/ComponentContext.d.ts +1 -1
- package/types/contexts/ComponentContext.d.ts.map +1 -1
- package/types/createComponent.d.ts.map +1 -1
- package/types/createStyledHOC.d.ts +5 -2
- package/types/createStyledHOC.d.ts.map +1 -1
- package/types/createTamagui.d.ts.map +1 -1
- package/types/dom/contract.d.ts +4 -1
- package/types/dom/contract.d.ts.map +1 -1
- package/types/dom/html.d.ts +60 -51
- package/types/dom/html.d.ts.map +1 -1
- package/types/dom/html.native.d.ts.map +1 -1
- package/types/dom/htmlReset.d.ts +10 -0
- package/types/dom/htmlReset.d.ts.map +1 -0
- package/types/dom/htmlRuntime.native.d.ts.map +1 -1
- package/types/dom/htmlStaticConfig.d.ts +22 -0
- package/types/dom/htmlStaticConfig.d.ts.map +1 -0
- package/types/dom/primitives.native.d.ts.map +1 -1
- package/types/dom/standalone.d.ts +2 -1
- package/types/dom/standalone.d.ts.map +1 -1
- package/types/dom/styleTypes.d.ts +63 -84
- package/types/dom/styleTypes.d.ts.map +1 -1
- package/types/eventHandling.d.ts +12 -4
- package/types/eventHandling.d.ts.map +1 -1
- package/types/eventHandling.native.d.ts.map +1 -1
- package/types/helpers/NativeTextBinding.d.ts +11 -0
- package/types/helpers/NativeTextBinding.d.ts.map +1 -0
- package/types/helpers/createDesignSystem.d.ts.map +1 -1
- package/types/helpers/expandStyle.d.ts +1 -0
- package/types/helpers/expandStyle.d.ts.map +1 -1
- package/types/helpers/expandStyles.d.ts.map +1 -1
- package/types/helpers/fluid.d.ts +21 -0
- package/types/helpers/fluid.d.ts.map +1 -0
- package/types/helpers/getCSSStylesAtomic.d.ts +3 -1
- package/types/helpers/getCSSStylesAtomic.d.ts.map +1 -1
- package/types/helpers/getSplitStyles.d.ts +2 -1
- package/types/helpers/getSplitStyles.d.ts.map +1 -1
- package/types/helpers/getThemeCSSRules.d.ts.map +1 -1
- package/types/helpers/grammarConfig.d.ts.map +1 -1
- package/types/helpers/insertStyleRule.d.ts.map +1 -1
- package/types/helpers/mainThreadPressEvents.native.d.ts +0 -7
- package/types/helpers/mainThreadPressEvents.native.d.ts.map +1 -1
- package/types/helpers/mergeProps.d.ts +1 -15
- package/types/helpers/mergeProps.d.ts.map +1 -1
- package/types/helpers/nativeOnlyProps.d.ts +0 -1
- package/types/helpers/nativeOnlyProps.d.ts.map +1 -1
- package/types/helpers/nativeTextMetrics.d.ts +16 -0
- package/types/helpers/nativeTextMetrics.d.ts.map +1 -0
- package/types/helpers/normalizeColor.native.d.ts +4 -1
- package/types/helpers/normalizeColor.native.d.ts.map +1 -1
- package/types/helpers/normalizeShadow.native.d.ts +3 -1
- package/types/helpers/normalizeShadow.native.d.ts.map +1 -1
- package/types/helpers/normalizeValueWithProperty.d.ts.map +1 -1
- package/types/helpers/{parseNativeStyle.native.d.ts → parseNativeStyle.d.ts} +1 -1
- package/types/helpers/parseNativeStyle.d.ts.map +1 -0
- package/types/helpers/proxyThemeToParents.d.ts +1 -1
- package/types/helpers/proxyThemeToParents.d.ts.map +1 -1
- package/types/helpers/resolveNativeUnits.d.ts +6 -0
- package/types/helpers/resolveNativeUnits.d.ts.map +1 -0
- package/types/helpers/resolveNativeUnits.native.d.ts +16 -0
- package/types/helpers/resolveNativeUnits.native.d.ts.map +1 -0
- package/types/helpers/resolveRem.native.d.ts +6 -4
- package/types/helpers/resolveRem.native.d.ts.map +1 -1
- package/types/helpers/resolveSizing.d.ts +90 -0
- package/types/helpers/resolveSizing.d.ts.map +1 -0
- package/types/helpers/resolveVariableValue.d.ts.map +1 -1
- package/types/helpers/skipProps.d.ts +0 -1
- package/types/helpers/skipProps.d.ts.map +1 -1
- package/types/helpers/styleFrontend.d.ts +21 -0
- package/types/helpers/styleFrontend.d.ts.map +1 -1
- package/types/helpers/styleProvenance.d.ts +1 -1
- package/types/helpers/styleProvenance.d.ts.map +1 -1
- package/types/helpers/styleStaticConfigCore.d.ts.map +1 -1
- package/types/helpers/styledDynamic.d.ts +1 -1
- package/types/helpers/styledDynamic.d.ts.map +1 -1
- package/types/helpers/themes.d.ts +4 -0
- package/types/helpers/themes.d.ts.map +1 -1
- package/types/helpers/tokenCategories.d.ts +1 -1
- package/types/helpers/tokenCategories.d.ts.map +1 -1
- package/types/helpers/warnOnce.d.ts +1 -0
- package/types/helpers/warnOnce.d.ts.map +1 -1
- package/types/helpers/webPropsToSkip.native.d.ts +6 -2
- package/types/helpers/webPropsToSkip.native.d.ts.map +1 -1
- package/types/helpers/wrapStyleTags.d.ts.map +1 -1
- package/types/hooks/useMedia.d.ts +5 -2
- package/types/hooks/useMedia.d.ts.map +1 -1
- package/types/hooks/useSplitStyles.d.ts.map +1 -1
- package/types/hooks/useThemeState.d.ts.map +1 -1
- package/types/index.d.ts +4 -1
- package/types/index.d.ts.map +1 -1
- package/types/interfaces/RNExclusiveTypes.d.ts +2 -3
- package/types/interfaces/RNExclusiveTypes.d.ts.map +1 -1
- package/types/internal-runtime.d.ts +12 -1
- package/types/internal-runtime.d.ts.map +1 -1
- package/types/style.d.ts.map +1 -1
- package/types/styled.d.ts +7 -4
- package/types/styled.d.ts.map +1 -1
- package/types/types.d.ts +258 -102
- package/types/types.d.ts.map +1 -1
- package/types/views/Theme.d.ts.map +1 -1
- package/dist/cjs/helpers/timer.native.js.map +0 -1
- package/dist/esm/helpers/timer.mjs +0 -13
- package/dist/esm/helpers/timer.mjs.map +0 -1
- package/dist/esm/helpers/timer.native.js +0 -13
- package/dist/esm/helpers/timer.native.js.map +0 -1
- package/src/helpers/timer.ts +0 -9
- package/types/helpers/parseNativeStyle.native.d.ts.map +0 -1
- package/types/helpers/timer.d.ts +0 -2
- package/types/helpers/timer.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.native.js","names":[],"sources":["esm/dom/html.native.js"],"sourcesContent":["import { createComponent } from \"../createComponent\";\nimport { textStaticConfig } from \"../views/Text\";\nimport { viewStaticConfig } from \"../views/View\";\nimport { domEventProps } from \"./domEventProps.native\";\nimport { createDOMTagFactory, unsupportedDOMTag } from \"./htmlRuntime.native\";\nimport { DOMImage, DOMText, DOMTextInput, DOMView } from \"./primitives.native\";\nvar domTag = createDOMTagFactory({\n renamed: {\n \"aria-label\": \"accessibilityLabel\",\n \"aria-labelledby\": \"accessibilityLabelledBy\",\n \"aria-modal\": \"accessibilityViewIsModal\",\n dir: \"writingDirection\",\n \"data-testid\": \"testID\",\n rows: \"numberOfLines\"\n },\n nested: {\n \"aria-busy\": [\n \"accessibilityState\",\n \"busy\"\n ],\n \"aria-checked\": [\n \"accessibilityState\",\n \"checked\"\n ],\n \"aria-disabled\": [\n \"accessibilityState\",\n \"disabled\"\n ],\n \"aria-expanded\": [\n \"accessibilityState\",\n \"expanded\"\n ],\n \"aria-selected\": [\n \"accessibilityState\",\n \"selected\"\n ],\n \"aria-valuemax\": [\n \"accessibilityValue\",\n \"max\"\n ],\n \"aria-valuemin\": [\n \"accessibilityValue\",\n \"min\"\n ],\n \"aria-valuenow\": [\n \"accessibilityValue\",\n \"now\"\n ],\n \"aria-valuetext\": [\n \"accessibilityValue\",\n \"text\"\n ]\n },\n unsupportedProps: {\n \"aria-activedescendant\": \"no native equivalent\",\n \"aria-atomic\": \"no native equivalent\",\n \"aria-autocomplete\": \"no native equivalent\",\n \"aria-colcount\": \"no native equivalent\",\n \"aria-colindex\": \"no native equivalent\",\n \"aria-colindextext\": \"no native equivalent\",\n \"aria-colspan\": \"no native equivalent\",\n \"aria-controls\": \"no native equivalent\",\n \"aria-current\": \"no native equivalent\",\n \"aria-describedby\": \"react native has no described-by relationship; put the description in aria-label instead\",\n \"aria-details\": \"no native equivalent\",\n \"aria-errormessage\": \"no native equivalent\",\n \"aria-flowto\": \"no native equivalent\",\n \"aria-haspopup\": \"no native equivalent\",\n \"aria-invalid\": \"no native equivalent\",\n \"aria-keyshortcuts\": \"no native equivalent\",\n \"aria-level\": \"no native equivalent\",\n \"aria-multiline\": \"no native equivalent\",\n \"aria-multiselectable\": \"no native equivalent\",\n \"aria-orientation\": \"no native equivalent\",\n \"aria-owns\": \"no native equivalent\",\n \"aria-placeholder\": \"no native equivalent\",\n \"aria-posinset\": \"no native equivalent\",\n \"aria-pressed\": \"no native equivalent\",\n \"aria-readonly\": \"no native equivalent\",\n \"aria-required\": \"no native equivalent\",\n \"aria-roledescription\": \"no native equivalent\",\n \"aria-rowcount\": \"no native equivalent\",\n \"aria-rowindex\": \"no native equivalent\",\n \"aria-rowindextext\": \"no native equivalent\",\n \"aria-rowspan\": \"no native equivalent\",\n \"aria-setsize\": \"no native equivalent\",\n \"aria-sort\": \"no native equivalent\",\n autoFocus: \"focus a native element through a ref in an effect instead\",\n elementTiming: \"element timing is a browser performance api\",\n inert: \"no native equivalent\",\n lang: \"no native equivalent\",\n suppressHydrationWarning: \"no native equivalent\",\n download: \"no native equivalent\",\n href: \"native has no navigation; handle onClick and call your router or Linking\",\n rel: \"no native equivalent\",\n target: \"no native equivalent\",\n decoding: \"no native equivalent\",\n draggable: \"no native equivalent\",\n fetchPriority: \"no native equivalent\",\n loading: \"no native equivalent\",\n checked: \"checkbox and radio inputs have no native rendering\",\n defaultChecked: \"checkbox and radio inputs have no native rendering\",\n for: \"native has no label association; wrap the control or drive it from your own state\",\n label: \"no native equivalent\",\n max: \"no native equivalent\",\n min: \"no native equivalent\",\n minLength: \"no native equivalent\",\n multiple: \"no native equivalent\",\n name: \"form field names only matter to a form submission, which native does not have\",\n required: \"native has no form validation\",\n step: \"no native equivalent\"\n },\n unsupportedEvents: /* @__PURE__ */ new Set([\n \"onAuxClick\",\n \"onContextMenu\",\n \"onFocusIn\",\n \"onFocusOut\",\n \"onKeyUp\",\n \"onCopy\",\n \"onCut\",\n \"onPaste\",\n \"onFullscreenChange\",\n \"onFullscreenError\",\n \"onWheel\",\n \"onMouseMove\",\n \"onBeforeInput\",\n \"onInvalid\",\n \"onSelect\"\n ]),\n dataPropNote: \"data-testid is the one exception and reaches testID on native\",\n nativeInputTypes: /* @__PURE__ */ new Set([\n \"email\",\n \"number\",\n \"password\",\n \"search\",\n \"tel\",\n \"text\",\n \"url\"\n ]),\n flexDefaults: {\n alignContent: \"stretch\",\n alignItems: \"stretch\",\n flexBasis: \"auto\",\n flexDirection: \"row\",\n flexShrink: 1,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n});\nvar domValidStyles = {\n ...viewStaticConfig.validStyles,\n ...textStaticConfig.validStyles\n};\nvar primitive = function(component) {\n return component;\n};\nvar a = domTag(\"a\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true,\n role: \"link\"\n});\nvar article = domTag(\"article\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar aside = domTag(\"aside\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar b = domTag(\"b\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true\n});\nvar bdi = domTag(\"bdi\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar bdo = domTag(\"bdo\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar blockquote = domTag(\"blockquote\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar br = domTag(\"br\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar button = domTag(\"button\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n borderWidth: 1\n }\n}), {\n wrapsLiteralText: true,\n role: \"button\"\n});\nvar code = domTag(\"code\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontFamily: \"monospace\"\n }\n}), {\n inherits: true\n});\nvar del = domTag(\"del\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n textDecorationLine: \"line-through\"\n }\n}), {\n inherits: true\n});\nvar div = domTag(\"div\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar em = domTag(\"em\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontStyle: \"italic\"\n }\n}), {\n inherits: true\n});\nvar fieldset = domTag(\"fieldset\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar footer = domTag(\"footer\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar form = domTag(\"form\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar h1 = domTag(\"h1\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar h2 = domTag(\"h2\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar h3 = domTag(\"h3\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar h4 = domTag(\"h4\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar h5 = domTag(\"h5\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar h6 = domTag(\"h6\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar header = domTag(\"header\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true,\n role: \"header\"\n});\nvar hr = domTag(\"hr\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n backgroundColor: \"black\",\n height: 1\n }\n}), {\n wrapsLiteralText: true\n});\nvar i = domTag(\"i\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontStyle: \"italic\"\n }\n}), {\n inherits: true\n});\nvar img = domTag(\"img\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMImage),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n objectFit: \"fill\"\n }\n}));\nvar input = domTag(\"input\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMTextInput),\n isInput: true,\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n borderWidth: 1\n }\n}), {\n inherits: true,\n entry: \"input\"\n});\nvar ins = domTag(\"ins\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n textDecorationLine: \"underline\"\n }\n}), {\n inherits: true\n});\nvar kbd = domTag(\"kbd\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontFamily: \"monospace\"\n }\n}), {\n inherits: true\n});\nvar label = domTag(\"label\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar li = domTag(\"li\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true,\n role: \"listitem\"\n});\nvar main = domTag(\"main\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar mark = domTag(\"mark\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n backgroundColor: \"yellow\",\n color: \"black\"\n }\n}), {\n inherits: true\n});\nvar nav = domTag(\"nav\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar ol = domTag(\"ol\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true,\n role: \"list\"\n});\nvar optgroup = unsupportedDOMTag(\"optgroup\", \"native has no menu-based select control, so this tag is a native build error\");\nvar option = unsupportedDOMTag(\"option\", \"native has no menu-based select control, so this tag is a native build error\");\nvar p = domTag(\"p\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n inherits: true\n});\nvar pre = domTag(\"pre\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontFamily: \"monospace\"\n }\n}), {\n inherits: true\n});\nvar s = domTag(\"s\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n textDecorationLine: \"line-through\"\n }\n}), {\n inherits: true\n});\nvar section = domTag(\"section\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar select = unsupportedDOMTag(\"select\", \"native has no menu-based select control, so this tag is a native build error\");\nvar span = domTag(\"span\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar strong = domTag(\"strong\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true\n});\nvar sub = domTag(\"sub\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar sup = domTag(\"sup\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar textarea = domTag(\"textarea\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMTextInput),\n isInput: true,\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n borderWidth: 1,\n verticalAlign: \"top\"\n }\n}), {\n inherits: true,\n entry: \"textarea\"\n});\nvar u = domTag(\"u\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n textDecorationLine: \"underline\"\n }\n}), {\n inherits: true\n});\nvar ul = domTag(\"ul\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true,\n role: \"list\"\n});\nvar html = {\n a,\n article,\n aside,\n b,\n bdi,\n bdo,\n blockquote,\n br,\n button,\n code,\n del,\n div,\n em,\n fieldset,\n footer,\n form,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n header,\n hr,\n i,\n img,\n input,\n ins,\n kbd,\n label,\n li,\n main,\n mark,\n nav,\n ol,\n optgroup,\n option,\n p,\n pre,\n s,\n section,\n select,\n span,\n strong,\n sub,\n sup,\n textarea,\n u,\n ul\n};\nexport {\n html\n};\n//# sourceMappingURL=html.native.js.map\n"],"mappings":";;;;;;;;AAMA,IAAI,SAAS,oBAAoB;CAC/B,SAAS;EACP,cAAc;EACd,mBAAmB;EACnB,cAAc;EACd,KAAK;EACL,eAAe;EACf,MAAM;CACR;CACA,QAAQ;EACN,aAAa,CACX,sBACA,MACF;EACA,gBAAgB,CACd,sBACA,SACF;EACA,iBAAiB,CACf,sBACA,UACF;EACA,iBAAiB,CACf,sBACA,UACF;EACA,iBAAiB,CACf,sBACA,UACF;EACA,iBAAiB,CACf,sBACA,KACF;EACA,iBAAiB,CACf,sBACA,KACF;EACA,iBAAiB,CACf,sBACA,KACF;EACA,kBAAkB,CAChB,sBACA,MACF;CACF;CACA,kBAAkB;EAChB,yBAAyB;EACzB,eAAe;EACf,qBAAqB;EACrB,iBAAiB;EACjB,iBAAiB;EACjB,qBAAqB;EACrB,gBAAgB;EAChB,iBAAiB;EACjB,gBAAgB;EAChB,oBAAoB;EACpB,gBAAgB;EAChB,qBAAqB;EACrB,eAAe;EACf,iBAAiB;EACjB,gBAAgB;EAChB,qBAAqB;EACrB,cAAc;EACd,kBAAkB;EAClB,wBAAwB;EACxB,oBAAoB;EACpB,aAAa;EACb,oBAAoB;EACpB,iBAAiB;EACjB,gBAAgB;EAChB,iBAAiB;EACjB,iBAAiB;EACjB,wBAAwB;EACxB,iBAAiB;EACjB,iBAAiB;EACjB,qBAAqB;EACrB,gBAAgB;EAChB,gBAAgB;EAChB,aAAa;EACb,WAAW;EACX,eAAe;EACf,OAAO;EACP,MAAM;EACN,0BAA0B;EAC1B,UAAU;EACV,MAAM;EACN,KAAK;EACL,QAAQ;EACR,UAAU;EACV,WAAW;EACX,eAAe;EACf,SAAS;EACT,SAAS;EACT,gBAAgB;EAChB,KAAK;EACL,OAAO;EACP,KAAK;EACL,KAAK;EACL,WAAW;EACX,UAAU;EACV,MAAM;EACN,UAAU;EACV,MAAM;CACR;CACA,mCAAmC,IAAI,IAAI;EACzC;EACA;EACA;EACA;EACA;EAC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AACF,CAAC,GAAG,EACF,UAAU,KACZ,CAAC;AACD,IAAI,MAAM,OAAO,OAAO,gBAAgB;CACtC,GAAG;CACH,aAAa;CACb,gBAAgB;CAChB,WAAW,UAAU,OAAO;CAC5B,cAAc;EACZ,GAAG,iBAAiB;EACpB,WAAW;EACX,UAAU;CACZ;AACF,CAAC,GAAG,EACF,UAAU,KACZ,CAAC;AACD,IAAI,WAAW,OAAO,YAAY,gBAAgB;CAChD,GAAG;CACH,aAAa;CACb,gBAAgB;CAChB,WAAW,UAAU,YAAY;CACjC,SAAS;CACT,cAAc;EACZ,GAAG,iBAAiB;EACpB,WAAW;EACX,UAAU;EACV,aAAa;EACb,eAAe;CACjB;AACF,CAAC,GAAG;CACF,UAAU;CACV,OAAO;AACT,CAAC;AACD,IAAI,IAAI,OAAO,KAAK,gBAAgB;CAClC,GAAG;CACH,aAAa;CACb,gBAAgB;CAChB,WAAW,UAAU,OAAO;CAC5B,cAAc;EACZ,GAAG,iBAAiB;EACpB,WAAW;EACX,UAAU;EACV,oBAAoB;CACtB;AACF,CAAC,GAAG,EACF,UAAU,KACZ,CAAC;AACD,IAAI,KAAK,OAAO,MAAM,gBAAgB;CACpC,GAAG;CACH,aAAa;CACb,gBAAgB;CAChB,WAAW,UAAU,OAAO;CAC5B,cAAc;EACZ,GAAG,iBAAiB;EACpB,WAAW;EACX,UAAU;EACV,YAAY;EACZ,SAAS;EACT,WAAW;EACX,eAAe;EACf,YAAY;EACZ,UAAU;EACV,gBAAgB;CAClB;AACF,CAAC,GAAG;CACF,kBAAkB;CAClB,MAAM;AACR,CAAC;AACD,IAAI,OAAO;CACT;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
|
|
1
|
+
{"version":3,"file":"html.native.js","names":[],"sources":["esm/dom/html.native.js"],"sourcesContent":["import { stylePropsInput } from \"@tamagui/helpers\";\nimport { createComponent } from \"../createComponent\";\nimport { textStaticConfig } from \"../views/Text\";\nimport { viewStaticConfig } from \"../views/View\";\nimport { domEventProps } from \"./domEventProps.native\";\nimport { createDOMTagFactory, unsupportedDOMTag } from \"./htmlRuntime.native\";\nimport { DOMImage, DOMText, DOMTextInput, DOMView } from \"./primitives.native\";\nvar domTag = createDOMTagFactory({\n renamed: {\n \"aria-label\": \"accessibilityLabel\",\n \"aria-labelledby\": \"accessibilityLabelledBy\",\n \"aria-modal\": \"accessibilityViewIsModal\",\n dir: \"writingDirection\",\n \"data-testid\": \"testID\",\n rows: \"numberOfLines\"\n },\n nested: {\n \"aria-busy\": [\n \"accessibilityState\",\n \"busy\"\n ],\n \"aria-checked\": [\n \"accessibilityState\",\n \"checked\"\n ],\n \"aria-disabled\": [\n \"accessibilityState\",\n \"disabled\"\n ],\n \"aria-expanded\": [\n \"accessibilityState\",\n \"expanded\"\n ],\n \"aria-selected\": [\n \"accessibilityState\",\n \"selected\"\n ],\n \"aria-valuemax\": [\n \"accessibilityValue\",\n \"max\"\n ],\n \"aria-valuemin\": [\n \"accessibilityValue\",\n \"min\"\n ],\n \"aria-valuenow\": [\n \"accessibilityValue\",\n \"now\"\n ],\n \"aria-valuetext\": [\n \"accessibilityValue\",\n \"text\"\n ]\n },\n unsupportedProps: {\n \"aria-activedescendant\": \"no native equivalent\",\n \"aria-atomic\": \"no native equivalent\",\n \"aria-autocomplete\": \"no native equivalent\",\n \"aria-colcount\": \"no native equivalent\",\n \"aria-colindex\": \"no native equivalent\",\n \"aria-colindextext\": \"no native equivalent\",\n \"aria-colspan\": \"no native equivalent\",\n \"aria-controls\": \"no native equivalent\",\n \"aria-current\": \"no native equivalent\",\n \"aria-describedby\": \"react native has no described-by relationship; put the description in aria-label instead\",\n \"aria-details\": \"no native equivalent\",\n \"aria-errormessage\": \"no native equivalent\",\n \"aria-flowto\": \"no native equivalent\",\n \"aria-haspopup\": \"no native equivalent\",\n \"aria-invalid\": \"no native equivalent\",\n \"aria-keyshortcuts\": \"no native equivalent\",\n \"aria-level\": \"no native equivalent\",\n \"aria-multiline\": \"no native equivalent\",\n \"aria-multiselectable\": \"no native equivalent\",\n \"aria-orientation\": \"no native equivalent\",\n \"aria-owns\": \"no native equivalent\",\n \"aria-placeholder\": \"no native equivalent\",\n \"aria-posinset\": \"no native equivalent\",\n \"aria-pressed\": \"no native equivalent\",\n \"aria-readonly\": \"no native equivalent\",\n \"aria-required\": \"no native equivalent\",\n \"aria-roledescription\": \"no native equivalent\",\n \"aria-rowcount\": \"no native equivalent\",\n \"aria-rowindex\": \"no native equivalent\",\n \"aria-rowindextext\": \"no native equivalent\",\n \"aria-rowspan\": \"no native equivalent\",\n \"aria-setsize\": \"no native equivalent\",\n \"aria-sort\": \"no native equivalent\",\n autoFocus: \"focus a native element through a ref in an effect instead\",\n elementTiming: \"element timing is a browser performance api\",\n inert: \"no native equivalent\",\n lang: \"no native equivalent\",\n suppressHydrationWarning: \"no native equivalent\",\n download: \"no native equivalent\",\n href: \"native has no navigation; handle onClick and call your router or Linking\",\n rel: \"no native equivalent\",\n target: \"no native equivalent\",\n decoding: \"no native equivalent\",\n draggable: \"no native equivalent\",\n fetchPriority: \"no native equivalent\",\n loading: \"no native equivalent\",\n checked: \"checkbox and radio inputs have no native rendering\",\n defaultChecked: \"checkbox and radio inputs have no native rendering\",\n for: \"native has no label association; wrap the control or drive it from your own state\",\n label: \"no native equivalent\",\n max: \"no native equivalent\",\n min: \"no native equivalent\",\n minLength: \"no native equivalent\",\n multiple: \"no native equivalent\",\n name: \"form field names only matter to a form submission, which native does not have\",\n required: \"native has no form validation\",\n step: \"no native equivalent\"\n },\n unsupportedEvents: /* @__PURE__ */ new Set([\n \"onAuxClick\",\n \"onContextMenu\",\n \"onFocusIn\",\n \"onFocusOut\",\n \"onKeyUp\",\n \"onCopy\",\n \"onCut\",\n \"onPaste\",\n \"onFullscreenChange\",\n \"onFullscreenError\",\n \"onWheel\",\n \"onMouseMove\",\n \"onBeforeInput\",\n \"onInvalid\",\n \"onSelect\"\n ]),\n dataPropNote: \"data-testid is the one exception and reaches testID on native\",\n nativeInputTypes: /* @__PURE__ */ new Set([\n \"email\",\n \"number\",\n \"password\",\n \"search\",\n \"tel\",\n \"text\",\n \"url\"\n ]),\n flexDefaults: {\n alignContent: \"stretch\",\n alignItems: \"stretch\",\n flexBasis: \"auto\",\n flexDirection: \"row\",\n flexShrink: 1,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n});\nvar domValidStyles = {\n ...viewStaticConfig.validStyles,\n ...textStaticConfig.validStyles\n};\nvar domInputValidStyles = {\n ...domValidStyles,\n ...stylePropsInput\n};\nvar primitive = function(component) {\n return component;\n};\nvar a = domTag(\"a\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true,\n role: \"link\"\n});\nvar article = domTag(\"article\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar aside = domTag(\"aside\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar b = domTag(\"b\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true\n});\nvar bdi = domTag(\"bdi\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar bdo = domTag(\"bdo\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar blockquote = domTag(\"blockquote\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar br = domTag(\"br\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar button = domTag(\"button\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n borderWidth: 1\n }\n}), {\n wrapsLiteralText: true,\n role: \"button\"\n});\nvar code = domTag(\"code\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontFamily: \"monospace\"\n }\n}), {\n inherits: true\n});\nvar del = domTag(\"del\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n textDecorationLine: \"line-through\"\n }\n}), {\n inherits: true\n});\nvar div = domTag(\"div\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar em = domTag(\"em\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontStyle: \"italic\"\n }\n}), {\n inherits: true\n});\nvar fieldset = domTag(\"fieldset\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar footer = domTag(\"footer\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar form = domTag(\"form\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar h1 = domTag(\"h1\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar h2 = domTag(\"h2\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar h3 = domTag(\"h3\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar h4 = domTag(\"h4\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar h5 = domTag(\"h5\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar h6 = domTag(\"h6\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontSize: \"1.5rem\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true,\n role: \"heading\"\n});\nvar header = domTag(\"header\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true,\n role: \"header\"\n});\nvar hr = domTag(\"hr\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n backgroundColor: \"black\",\n height: 1\n }\n}), {\n wrapsLiteralText: true\n});\nvar i = domTag(\"i\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontStyle: \"italic\"\n }\n}), {\n inherits: true\n});\nvar img = domTag(\"img\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMImage),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n objectFit: \"fill\"\n }\n}));\nvar input = domTag(\"input\", createComponent({\n ...textStaticConfig,\n validStyles: domInputValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMTextInput),\n isInput: true,\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n borderWidth: 1\n }\n}), {\n inherits: true,\n entry: \"input\"\n});\nvar ins = domTag(\"ins\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n textDecorationLine: \"underline\"\n }\n}), {\n inherits: true\n});\nvar kbd = domTag(\"kbd\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontFamily: \"monospace\"\n }\n}), {\n inherits: true\n});\nvar label = domTag(\"label\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar li = domTag(\"li\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true,\n role: \"listitem\"\n});\nvar main = domTag(\"main\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar mark = domTag(\"mark\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n backgroundColor: \"yellow\",\n color: \"black\"\n }\n}), {\n inherits: true\n});\nvar nav = domTag(\"nav\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar ol = domTag(\"ol\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true,\n role: \"list\"\n});\nvar optgroup = unsupportedDOMTag(\"optgroup\", \"native has no menu-based select control, so this tag is a native build error\");\nvar option = unsupportedDOMTag(\"option\", \"native has no menu-based select control, so this tag is a native build error\");\nvar p = domTag(\"p\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n inherits: true\n});\nvar pre = domTag(\"pre\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\",\n fontFamily: \"monospace\"\n }\n}), {\n inherits: true\n});\nvar s = domTag(\"s\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n textDecorationLine: \"line-through\"\n }\n}), {\n inherits: true\n});\nvar section = domTag(\"section\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true\n});\nvar select = unsupportedDOMTag(\"select\", \"native has no menu-based select control, so this tag is a native build error\");\nvar span = domTag(\"span\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar strong = domTag(\"strong\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n fontWeight: \"bold\"\n }\n}), {\n inherits: true\n});\nvar sub = domTag(\"sub\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar sup = domTag(\"sup\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\"\n }\n}), {\n inherits: true\n});\nvar textarea = domTag(\"textarea\", createComponent({\n ...textStaticConfig,\n validStyles: domInputValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMTextInput),\n isInput: true,\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n borderWidth: 1,\n verticalAlign: \"top\"\n }\n}), {\n inherits: true,\n entry: \"textarea\"\n});\nvar u = domTag(\"u\", createComponent({\n ...textStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMText),\n defaultProps: {\n ...textStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n textDecorationLine: \"underline\"\n }\n}), {\n inherits: true\n});\nvar ul = domTag(\"ul\", createComponent({\n ...viewStaticConfig,\n validStyles: domValidStyles,\n isDOM: true,\n neverSkipProps: domEventProps,\n Component: primitive(DOMView),\n defaultProps: {\n ...viewStaticConfig.defaultProps,\n boxSizing: \"content-box\",\n position: \"static\",\n alignItems: \"stretch\",\n display: \"flex\",\n flexBasis: \"auto\",\n flexDirection: \"column\",\n flexShrink: 0,\n flexWrap: \"nowrap\",\n justifyContent: \"flex-start\"\n }\n}), {\n wrapsLiteralText: true,\n role: \"list\"\n});\nvar html = {\n a,\n article,\n aside,\n b,\n bdi,\n bdo,\n blockquote,\n br,\n button,\n code,\n del,\n div,\n em,\n fieldset,\n footer,\n form,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n header,\n hr,\n i,\n img,\n input,\n ins,\n kbd,\n label,\n li,\n main,\n mark,\n nav,\n ol,\n optgroup,\n option,\n p,\n pre,\n s,\n section,\n select,\n span,\n strong,\n sub,\n sup,\n textarea,\n u,\n ul\n};\nexport {\n html\n};\n//# sourceMappingURL=html.native.js.map\n"],"mappings":";;;;;;;;;AAOA,IAAI,SAAS,oBAAoB;CAC/B,SAAS;EACP,cAAc;EACd,mBAAmB;EACnB,cAAc;EACd,KAAK;EACL,eAAe;EACf,MAAM;CACR;CACA,QAAQ;EACN,aAAa,CACX,sBACA,MACF;EACA,gBAAgB,CACd,sBACA,SACF;EACA,iBAAiB,CACf,sBACA,UACF;EACA,iBAAiB,CACf,sBACA,UACF;EACA,iBAAiB,CACf,sBACA,UACF;EACA,iBAAiB,CACf,sBACA,KACF;EACA,iBAAiB,CACf,sBACA,KACF;EACA,iBAAiB,CACf,sBACA,KACF;EACA,kBAAkB,CAChB,sBACA,MACF;CACF;CACA,kBAAkB;EAChB,yBAAyB;EACzB,eAAe;EACf,qBAAqB;EACrB,iBAAiB;EACjB,iBAAiB;EACjB,qBAAqB;EACrB,gBAAgB;EAChB,iBAAiB;EACjB,gBAAgB;EAChB,oBAAoB;EACpB,gBAAgB;EAChB,qBAAqB;EACrB,eAAe;EACf,iBAAiB;EACjB,gBAAgB;EAChB,qBAAqB;EACrB,cAAc;EACd,kBAAkB;EAClB,wBAAwB;EACxB,oBAAoB;EACpB,aAAa;EACb,oBAAoB;EACpB,iBAAiB;EACjB,gBAAgB;EAChB,iBAAiB;EACjB,iBAAiB;EACjB,wBAAwB;EACxB,iBAAiB;EACjB,iBAAiB;EACjB,qBAAqB;EACrB,gBAAgB;EAChB,gBAAgB;EAChB,aAAa;EACb,WAAW;EACX,eAAe;EACf,OAAO;EACP,MAAM;EACN,0BAA0B;EAC1B,UAAU;EACV,MAAM;EACN,KAAK;EACL,QAAQ;EACR,UAAU;EACV,WAAW;EACX,eAAe;EACf,SAAS;EACT,SAAS;EACT,gBAAgB;EAChB,KAAK;EACL,OAAO;EACP,KAAK;EACL,KAAK;EACL,WAAW;EACX,UAAU;EACV,MAAM;EACN,UAAU;EACV,MAAM;CACR;CACA,mCAAmC,IAAI,IAAI;EACzC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;CACD,cAAc;CACd,kCAAkC,IAAI,IAAI;EACxC;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;CACD,cAAc;EACZ,cAAc;EACd,YAAY;EACZ,WAAW;EACX,eAAe;EACf,YAAY;EACZ,UAAU;EACV,gBAAgB;CAClB;AACF,CAAC;AACD,IAAI,iBAAiB;CACnB,GAAG,iBAAiB;CACpB,GAAG,iBAAiB;AACtB;AACA,IAAI,sBAAsB;CACxB,GAAG;CACH,GAAG;AACL;AACA,IAAI,YAAY,SAAS,WAAW;CAClC,OAAO;AACT;AACA,IAAI,I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ACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const htmlResetCSS = `:where(.is_DOM) { margin: 0; padding: 0; }
|
|
2
|
+
:where(a.is_DOM, b.is_DOM, bdi.is_DOM, bdo.is_DOM, br.is_DOM, code.is_DOM, del.is_DOM, em.is_DOM, i.is_DOM, img.is_DOM, ins.is_DOM, kbd.is_DOM, label.is_DOM, mark.is_DOM, s.is_DOM, span.is_DOM, strong.is_DOM, sub.is_DOM, sup.is_DOM, u.is_DOM) { text-decoration: none; }
|
|
3
|
+
:where(button.is_DOM, input.is_DOM, select.is_DOM, textarea.is_DOM) { border-style: solid; }`;
|
|
4
|
+
|
|
5
|
+
export { htmlResetCSS };
|
|
6
|
+
//# sourceMappingURL=htmlReset.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"htmlReset.js","names":[],"sources":["esm/dom/htmlReset.js"],"sourcesContent":["const htmlResetCSS = `:where(.is_DOM) { margin: 0; padding: 0; }\n:where(a.is_DOM, b.is_DOM, bdi.is_DOM, bdo.is_DOM, br.is_DOM, code.is_DOM, del.is_DOM, em.is_DOM, i.is_DOM, img.is_DOM, ins.is_DOM, kbd.is_DOM, label.is_DOM, mark.is_DOM, s.is_DOM, span.is_DOM, strong.is_DOM, sub.is_DOM, sup.is_DOM, u.is_DOM) { text-decoration: none; }\n:where(button.is_DOM, input.is_DOM, select.is_DOM, textarea.is_DOM) { border-style: solid; }`;\nexport {\n htmlResetCSS\n};\n//# sourceMappingURL=htmlReset.js.map\n"],"mappings":";AAAA,MAAM,eAAe"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var htmlResetCSS = `:where(.is_DOM) { margin: 0; padding: 0; }
|
|
2
|
+
:where(a.is_DOM, b.is_DOM, bdi.is_DOM, bdo.is_DOM, br.is_DOM, code.is_DOM, del.is_DOM, em.is_DOM, i.is_DOM, img.is_DOM, ins.is_DOM, kbd.is_DOM, label.is_DOM, mark.is_DOM, s.is_DOM, span.is_DOM, strong.is_DOM, sub.is_DOM, sup.is_DOM, u.is_DOM) { text-decoration: none; }
|
|
3
|
+
:where(button.is_DOM, input.is_DOM, select.is_DOM, textarea.is_DOM) { border-style: solid; }`;
|
|
4
|
+
|
|
5
|
+
export { htmlResetCSS };
|
|
6
|
+
//# sourceMappingURL=htmlReset.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"htmlReset.native.js","names":[],"sources":["esm/dom/htmlReset.native.js"],"sourcesContent":["var htmlResetCSS = `:where(.is_DOM) { margin: 0; padding: 0; }\n:where(a.is_DOM, b.is_DOM, bdi.is_DOM, bdo.is_DOM, br.is_DOM, code.is_DOM, del.is_DOM, em.is_DOM, i.is_DOM, img.is_DOM, ins.is_DOM, kbd.is_DOM, label.is_DOM, mark.is_DOM, s.is_DOM, span.is_DOM, strong.is_DOM, sub.is_DOM, sup.is_DOM, u.is_DOM) { text-decoration: none; }\n:where(button.is_DOM, input.is_DOM, select.is_DOM, textarea.is_DOM) { border-style: solid; }`;\nexport {\n htmlResetCSS\n};\n//# sourceMappingURL=htmlReset.js.map\n"],"mappings":";AAAA,IAAI,eAAe"}
|
|
@@ -132,6 +132,10 @@ function createDOMTagFactory(tables) {
|
|
|
132
132
|
};
|
|
133
133
|
Tag.displayName = tag;
|
|
134
134
|
Tag[componentDisplayName] = tag;
|
|
135
|
+
Tag.staticConfig = Component.staticConfig;
|
|
136
|
+
Tag.rebindDOMTag = function(next) {
|
|
137
|
+
return domTag(tag, next, spec);
|
|
138
|
+
};
|
|
135
139
|
return Tag;
|
|
136
140
|
};
|
|
137
141
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"htmlRuntime.native.js","names":[],"sources":["esm/dom/htmlRuntime.native.js"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nimport { componentDisplayName } from \"../helpers/componentDisplayName\";\nimport { DOMText } from \"./primitives.native\";\nfunction wrapLiteralText(children) {\n if (typeof children === \"string\" || typeof children === \"number\") {\n return jsx(DOMText, {\n __inherit: true,\n children\n });\n }\n if (!Array.isArray(children)) return children;\n var wrapped;\n for (var index = 0; index < children.length; index++) {\n var child = children[index];\n if (typeof child !== \"string\" && typeof child !== \"number\") continue;\n wrapped || (wrapped = [\n ...children\n ]);\n wrapped[index] = jsx(DOMText, {\n __inherit: true,\n children: child\n }, `text-${index}`);\n }\n return wrapped !== null && wrapped !== void 0 ? wrapped : children;\n}\nfunction resolveDOMProps(props, tag, spec, tables) {\n var next = {};\n var nested;\n var display;\n var hidden = false;\n var type;\n var hasType = false;\n var hasInputMode = false;\n var hasRole = false;\n for (var name in props) {\n var value = props[name];\n if (value === void 0) continue;\n if (name === \"display\") {\n display = value;\n continue;\n }\n if (name === \"hidden\") {\n if (value) hidden = true;\n continue;\n }\n if (name === \"tabIndex\") {\n next.focusable = value === 0;\n continue;\n }\n if (name === \"readOnly\") {\n next.editable = !value;\n continue;\n }\n if (name === \"disabled\") {\n next.disabled = value;\n next.focusable = !value;\n if (spec.entry) next.editable = !value;\n nested || (nested = {});\n nested.accessibilityState = {\n ...nested.accessibilityState,\n disabled: value\n };\n continue;\n }\n if (name === \"type\") {\n type = value;\n hasType = true;\n continue;\n }\n if (name === \"aria-hidden\") {\n next.accessibilityElementsHidden = value;\n next.importantForAccessibility = value ? \"no-hide-descendants\" : \"auto\";\n continue;\n }\n if (name === \"aria-live\") {\n next.accessibilityLiveRegion = value === \"off\" ? \"none\" : value;\n continue;\n }\n var target = tables.nested[name];\n if (target) {\n nested || (nested = {});\n nested[target[0]] = {\n ...nested[target[0]],\n [target[1]]: value\n };\n continue;\n }\n if (tables.unsupportedEvents.has(name)) {\n throw new Error(`${name} has no native DOM event equivalent`);\n }\n var _tables_unsupportedProps_name;\n var note = (_tables_unsupportedProps_name = tables.unsupportedProps[name]) !== null && _tables_unsupportedProps_name !== void 0 ? _tables_unsupportedProps_name : name.startsWith(\"data-\") && name !== \"data-testid\" ? tables.dataPropNote : void 0;\n if (note !== void 0) {\n throw new Error(`${name} is not supported on native html.${tag}: ${note}`);\n }\n if (name === \"onKeyDown\" && !spec.entry) {\n throw new Error(\"onKeyDown requires a native text-entry control\");\n }\n if (name === \"inputMode\") hasInputMode = true;\n else if (name === \"role\") hasRole = true;\n var _tables_renamed_name;\n next[(_tables_renamed_name = tables.renamed[name]) !== null && _tables_renamed_name !== void 0 ? _tables_renamed_name : name] = value;\n }\n if (nested) Object.assign(next, nested);\n if (!hasRole && spec.role) next.role = spec.role;\n if (spec.entry === \"textarea\") next.multiline = true;\n if (spec.entry === \"input\" && hasType) {\n if (typeof type !== \"string\" || !tables.nativeInputTypes.has(type)) {\n throw new Error(`input type ${String(type)} has no native text-entry control`);\n }\n if (type === \"password\") next.secureTextEntry = true;\n else if (type !== \"text\" && !hasInputMode) {\n next.inputMode = type === \"number\" ? \"numeric\" : type;\n }\n }\n var resolvedDisplay = hidden ? \"none\" : display;\n if (resolvedDisplay !== void 0) next.display = resolvedDisplay;\n if (props.ref !== void 0 || tag === \"br\") next.__tag = tag;\n if (spec.inherits) next.__inherit = true;\n if (spec.wrapsLiteralText && next.children != null) {\n next.children = wrapLiteralText(next.children);\n }\n return resolvedDisplay === \"flex\" ? {\n ...tables.flexDefaults,\n ...next\n } : next;\n}\nfunction createDOMTagFactory(tables) {\n return function domTag(tag, Component) {\n var spec = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};\n var Tag = function(props) {\n return jsx(Component, resolveDOMProps(props, tag, spec, tables));\n };\n Tag.displayName = tag;\n Tag[componentDisplayName] = tag;\n return Tag;\n };\n}\nfunction unsupportedDOMTag(tag, note) {\n var Tag = function() {\n throw new Error(`html.${tag} is not supported on native: ${note}`);\n };\n Tag.displayName = tag;\n Tag[componentDisplayName] = tag;\n return Tag;\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AI,GAAG;GAClE,MAAM,IAAI,MAAM,cAAc,OAAO,IAAI,EAAE,kCAAkC;EAC/E;EACA,IAAI,SAAS,YAAY,KAAK,kBAAkB;OAC3C,IAAI,SAAS,UAAU,CAAC,cAAc;GACzC,KAAK,YAAY,SAAS,WAAW,YAAY;EACnD;CACF;CACA,IAAI,kBAAkB,SAAS,SAAS;CACxC,IAAI,oBAAoB,KAAK,GAAG,KAAK,UAAU;CAC/C,IAAI,MAAM,QAAQ,KAAK,KAAK,QAAQ,MAAM,KAAK,QAAQ;CACvD,IAAI,KAAK,UAAU,KAAK,YAAY;CACpC,IAAI,KAAK,oBAAoB,KAAK,YAAY,MAAM;EAClD,KAAK,WAAW,gBAAgB,KAAK,QAAQ;CAC/C;CACA,OAAO,oBAAoB,SAAS;EAClC,GAAG,OAAO;EACV,GAAG;CACL,IAAI;AACN;AACA,SAAS,oBAAoB,QAAQ;CACnC,OAAO,SAAS,OAAO,KAAK,WAAW;EACrC,IAAI,OAAO,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK,CAAC;EAC7E,IAAI,MAAM,SAAS,OAAO;GACxB,OAAO,IAAI,WAAW,gBAAgB,OAAO,KAAK,MAAM,MAAM,CAAC;EACjE;EACA,IAAI,cAAc;EAClB,IAAI,wBAAwB;EAC5B,OAAO;CACT;AACF;AACA,SAAS,kBAAkB,KAAK,MAAM;CACpC,IAAI,MAAM,WAAW;EACnB,MAAM,IAAI,MAAM,QAAQ,IAAI,+BAA+B,MAAM;CACnE;CACA,IAAI,cAAc;CAClB,IAAI,wBAAwB;CAC5B,OAAO;AACT"}
|
|
1
|
+
{"version":3,"file":"htmlRuntime.native.js","names":[],"sources":["esm/dom/htmlRuntime.native.js"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nimport { componentDisplayName } from \"../helpers/componentDisplayName\";\nimport { DOMText } from \"./primitives.native\";\nfunction wrapLiteralText(children) {\n if (typeof children === \"string\" || typeof children === \"number\") {\n return jsx(DOMText, {\n __inherit: true,\n children\n });\n }\n if (!Array.isArray(children)) return children;\n var wrapped;\n for (var index = 0; index < children.length; index++) {\n var child = children[index];\n if (typeof child !== \"string\" && typeof child !== \"number\") continue;\n wrapped || (wrapped = [\n ...children\n ]);\n wrapped[index] = jsx(DOMText, {\n __inherit: true,\n children: child\n }, `text-${index}`);\n }\n return wrapped !== null && wrapped !== void 0 ? wrapped : children;\n}\nfunction resolveDOMProps(props, tag, spec, tables) {\n var next = {};\n var nested;\n var display;\n var hidden = false;\n var type;\n var hasType = false;\n var hasInputMode = false;\n var hasRole = false;\n for (var name in props) {\n var value = props[name];\n if (value === void 0) continue;\n if (name === \"display\") {\n display = value;\n continue;\n }\n if (name === \"hidden\") {\n if (value) hidden = true;\n continue;\n }\n if (name === \"tabIndex\") {\n next.focusable = value === 0;\n continue;\n }\n if (name === \"readOnly\") {\n next.editable = !value;\n continue;\n }\n if (name === \"disabled\") {\n next.disabled = value;\n next.focusable = !value;\n if (spec.entry) next.editable = !value;\n nested || (nested = {});\n nested.accessibilityState = {\n ...nested.accessibilityState,\n disabled: value\n };\n continue;\n }\n if (name === \"type\") {\n type = value;\n hasType = true;\n continue;\n }\n if (name === \"aria-hidden\") {\n next.accessibilityElementsHidden = value;\n next.importantForAccessibility = value ? \"no-hide-descendants\" : \"auto\";\n continue;\n }\n if (name === \"aria-live\") {\n next.accessibilityLiveRegion = value === \"off\" ? \"none\" : value;\n continue;\n }\n var target = tables.nested[name];\n if (target) {\n nested || (nested = {});\n nested[target[0]] = {\n ...nested[target[0]],\n [target[1]]: value\n };\n continue;\n }\n if (tables.unsupportedEvents.has(name)) {\n throw new Error(`${name} has no native DOM event equivalent`);\n }\n var _tables_unsupportedProps_name;\n var note = (_tables_unsupportedProps_name = tables.unsupportedProps[name]) !== null && _tables_unsupportedProps_name !== void 0 ? _tables_unsupportedProps_name : name.startsWith(\"data-\") && name !== \"data-testid\" ? tables.dataPropNote : void 0;\n if (note !== void 0) {\n throw new Error(`${name} is not supported on native html.${tag}: ${note}`);\n }\n if (name === \"onKeyDown\" && !spec.entry) {\n throw new Error(\"onKeyDown requires a native text-entry control\");\n }\n if (name === \"inputMode\") hasInputMode = true;\n else if (name === \"role\") hasRole = true;\n var _tables_renamed_name;\n next[(_tables_renamed_name = tables.renamed[name]) !== null && _tables_renamed_name !== void 0 ? _tables_renamed_name : name] = value;\n }\n if (nested) Object.assign(next, nested);\n if (!hasRole && spec.role) next.role = spec.role;\n if (spec.entry === \"textarea\") next.multiline = true;\n if (spec.entry === \"input\" && hasType) {\n if (typeof type !== \"string\" || !tables.nativeInputTypes.has(type)) {\n throw new Error(`input type ${String(type)} has no native text-entry control`);\n }\n if (type === \"password\") next.secureTextEntry = true;\n else if (type !== \"text\" && !hasInputMode) {\n next.inputMode = type === \"number\" ? \"numeric\" : type;\n }\n }\n var resolvedDisplay = hidden ? \"none\" : display;\n if (resolvedDisplay !== void 0) next.display = resolvedDisplay;\n if (props.ref !== void 0 || tag === \"br\") next.__tag = tag;\n if (spec.inherits) next.__inherit = true;\n if (spec.wrapsLiteralText && next.children != null) {\n next.children = wrapLiteralText(next.children);\n }\n return resolvedDisplay === \"flex\" ? {\n ...tables.flexDefaults,\n ...next\n } : next;\n}\nfunction createDOMTagFactory(tables) {\n return function domTag(tag, Component) {\n var spec = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};\n var Tag = function(props) {\n return jsx(Component, resolveDOMProps(props, tag, spec, tables));\n };\n Tag.displayName = tag;\n Tag[componentDisplayName] = tag;\n Tag.staticConfig = Component.staticConfig;\n Tag.rebindDOMTag = function(next) {\n return domTag(tag, next, spec);\n };\n return Tag;\n };\n}\nfunction unsupportedDOMTag(tag, note) {\n var Tag = function() {\n throw new Error(`html.${tag} is not supported on native: ${note}`);\n };\n Tag.displayName = tag;\n Tag[componentDisplayName] = tag;\n return Tag;\n}\nexport {\n createDOMTagFactory,\n unsupportedDOMTag\n};\n//# sourceMappingURL=htmlRuntime.native.js.map\n"],"mapp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AI,SAAS,YAAY,KAAK,kBAAkB;OAC3C,IAAI,SAAS,UAAU,CAAC,cAAc;GACzC,KAAK,YAAY,SAAS,WAAW,YAAY;EACnD;CACF;CACA,IAAI,kBAAkB,SAAS,SAAS;CACxC,IAAI,oBAAoB,KAAK,GAAG,KAAK,UAAU;CAC/C,IAAI,MAAM,QAAQ,KAAK,KAAK,QAAQ,MAAM,KAAK,QAAQ;CACvD,IAAI,KAAK,UAAU,KAAK,YAAY;CACpC,IAAI,KAAK,oBAAoB,KAAK,YAAY,MAAM;EAClD,KAAK,WAAW,gBAAgB,KAAK,QAAQ;CAC/C;CACA,OAAO,oBAAoB,SAAS;EAClC,GAAG,OAAO;EACV,GAAG;CACL,IAAI;AACN;AACA,SAAS,oBAAoB,QAAQ;CACnC,OAAO,SAAS,OAAO,KAAK,WAAW;EACrC,IAAI,OAAO,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK,CAAC;EAC7E,IAAI,MAAM,SAAS,OAAO;GACxB,OAAO,IAAI,WAAW,gBAAgB,OAAO,KAAK,MAAM,MAAM,CAAC;EACjE;EACA,IAAI,cAAc;EAClB,IAAI,wBAAwB;EAC5B,IAAI,eAAe,UAAU;EAC7B,IAAI,eAAe,SAAS,MAAM;GAChC,OAAO,OAAO,KAAK,MAAM,IAAI;EAC/B;EACA,OAAO;CACT;AACF;AACA,SAAS,kBAAkB,KAAK,MAAM;CACpC,IAAI,MAAM,WAAW;EACnB,MAAM,IAAI,MAAM,QAAQ,IAAI,+BAA+B,MAAM;CACnE;CACA,IAAI,cAAc;CAClB,IAAI,wBAAwB;CAC5B,OAAO;AACT"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { stylePropsTextOnly, validStyles } from "@tamagui/helpers";
|
|
2
|
+
import { textStaticConfig } from "../views/Text.mjs";
|
|
3
|
+
|
|
4
|
+
const htmlStaticConfig = {
|
|
5
|
+
acceptsClassName: true,
|
|
6
|
+
isDOM: true,
|
|
7
|
+
validStyles
|
|
8
|
+
};
|
|
9
|
+
const htmlTextStaticConfig = {
|
|
10
|
+
acceptsClassName: true,
|
|
11
|
+
isDOM: true,
|
|
12
|
+
isText: true,
|
|
13
|
+
inlineProps: textStaticConfig.inlineProps,
|
|
14
|
+
variants: textStaticConfig.variants,
|
|
15
|
+
validStyles: {
|
|
16
|
+
...validStyles,
|
|
17
|
+
...stylePropsTextOnly
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { htmlStaticConfig, htmlTextStaticConfig };
|
|
22
|
+
//# sourceMappingURL=htmlStaticConfig.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"htmlStaticConfig.js","names":[],"sources":["esm/dom/htmlStaticConfig.js"],"sourcesContent":["import { stylePropsTextOnly, validStyles } from \"@tamagui/helpers\";\nimport { textStaticConfig } from \"../views/Text\";\nconst htmlStaticConfig = {\n acceptsClassName: true,\n isDOM: true,\n validStyles\n};\nconst htmlTextStaticConfig = {\n acceptsClassName: true,\n isDOM: true,\n isText: true,\n inlineProps: textStaticConfig.inlineProps,\n variants: textStaticConfig.variants,\n validStyles: {\n ...validStyles,\n ...stylePropsTextOnly\n }\n};\nexport {\n htmlStaticConfig,\n htmlTextStaticConfig\n};\n//# sourceMappingURL=htmlStaticConfig.js.map\n"],"mappings":";;;;AAEA,MAAM,mBAAmB;CACvB,kBAAkB;CAClB,OAAO;CACP;AACF;AACA,MAAM,uBAAuB;CAC3B,kBAAkB;CAClB,OAAO;CACP,QAAQ;CACR,aAAa,iBAAiB;CAC9B,UAAU,iBAAiB;CAC3B,aAAa;EACX,GAAG;EACH,GAAG;CACL;AACF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { stylePropsTextOnly, validStyles } from "@tamagui/helpers";
|
|
2
|
+
import { textStaticConfig } from "../views/Text.native.js";
|
|
3
|
+
|
|
4
|
+
var htmlStaticConfig = {
|
|
5
|
+
acceptsClassName: true,
|
|
6
|
+
isDOM: true,
|
|
7
|
+
validStyles
|
|
8
|
+
};
|
|
9
|
+
var htmlTextStaticConfig = {
|
|
10
|
+
acceptsClassName: true,
|
|
11
|
+
isDOM: true,
|
|
12
|
+
isText: true,
|
|
13
|
+
inlineProps: textStaticConfig.inlineProps,
|
|
14
|
+
variants: textStaticConfig.variants,
|
|
15
|
+
validStyles: {
|
|
16
|
+
...validStyles,
|
|
17
|
+
...stylePropsTextOnly
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { htmlStaticConfig, htmlTextStaticConfig };
|
|
22
|
+
//# sourceMappingURL=htmlStaticConfig.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"htmlStaticConfig.native.js","names":[],"sources":["esm/dom/htmlStaticConfig.native.js"],"sourcesContent":["import { stylePropsTextOnly, validStyles } from \"@tamagui/helpers\";\nimport { textStaticConfig } from \"../views/Text\";\nvar htmlStaticConfig = {\n acceptsClassName: true,\n isDOM: true,\n validStyles\n};\nvar htmlTextStaticConfig = {\n acceptsClassName: true,\n isDOM: true,\n isText: true,\n inlineProps: textStaticConfig.inlineProps,\n variants: textStaticConfig.variants,\n validStyles: {\n ...validStyles,\n ...stylePropsTextOnly\n }\n};\nexport {\n htmlStaticConfig,\n htmlTextStaticConfig\n};\n//# sourceMappingURL=htmlStaticConfig.js.map\n"],"mappings":";;;;AAEA,IAAI,mBAAmB;CACrB,kBAAkB;CAClB,OAAO;CACP;AACF;AACA,IAAI,uBAAuB;CACzB,kBAAkB;CAClB,OAAO;CACP,QAAQ;CACR,aAAa,iBAAiB;CAC9B,UAAU,iBAAiB;CAC3B,aAAa;EACX,GAAG;EACH,GAAG;CACL;AACF"}
|
|
@@ -7,11 +7,11 @@ import { domEventProps } from "./domEventProps.native.js";
|
|
|
7
7
|
import { createComponent } from "../createComponent.native.js";
|
|
8
8
|
import { textStaticConfig } from "../views/Text.native.js";
|
|
9
9
|
import { viewStaticConfig } from "../views/View.native.js";
|
|
10
|
+
import { ComponentContext } from "../contexts/ComponentContext.native.js";
|
|
11
|
+
import { getConfig } from "../config.native.js";
|
|
12
|
+
import { NativeTextBinding } from "../helpers/NativeTextBinding.native.js";
|
|
13
|
+
import { resolveTextMetrics } from "../helpers/nativeTextMetrics.native.js";
|
|
10
14
|
|
|
11
|
-
function _type_of(obj) {
|
|
12
|
-
"@swc/helpers - typeof";
|
|
13
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
14
|
-
}
|
|
15
15
|
var refCallbacks = /* @__PURE__ */ new WeakMap();
|
|
16
16
|
var refFacades = /* @__PURE__ */ new WeakMap();
|
|
17
17
|
var viewportScaleContext = /* @__PURE__ */ createContext({ scale: 1 });
|
|
@@ -263,7 +263,7 @@ function resolveDOMMetadata(props) {
|
|
|
263
263
|
}
|
|
264
264
|
function hasInheritableStyle(style) {
|
|
265
265
|
if (Array.isArray(style)) return style.some(hasInheritableStyle);
|
|
266
|
-
if (!style ||
|
|
266
|
+
if (!style || typeof style !== "object") return false;
|
|
267
267
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
268
268
|
try {
|
|
269
269
|
for (var _iterator = inheritableTextProperties[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
@@ -286,10 +286,12 @@ function hasInheritableStyle(style) {
|
|
|
286
286
|
}
|
|
287
287
|
return false;
|
|
288
288
|
}
|
|
289
|
-
function resolveInheritedTextStyle(style, parent) {
|
|
289
|
+
function resolveInheritedTextStyle(style, parent, context, authoredMetrics) {
|
|
290
290
|
var values = (Array.isArray(style) ? style.flat(Infinity) : [style]).filter(Boolean);
|
|
291
291
|
var inherited = { ...parent.style };
|
|
292
|
-
|
|
292
|
+
if (context.parentFontSize !== void 0) inherited.fontSize = context.parentFontSize;
|
|
293
|
+
var lineHeight;
|
|
294
|
+
var ownsFontSize = false;
|
|
293
295
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
294
296
|
try {
|
|
295
297
|
for (var _iterator = values[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
@@ -304,11 +306,11 @@ function resolveInheritedTextStyle(style, parent) {
|
|
|
304
306
|
if (!(property in parent.style)) inherited[property] = void 0;
|
|
305
307
|
continue;
|
|
306
308
|
}
|
|
307
|
-
if (property === "lineHeight"
|
|
308
|
-
|
|
309
|
+
if (property === "lineHeight") {
|
|
310
|
+
lineHeight = typeof next === "number" ? `${next}px` : next;
|
|
309
311
|
} else {
|
|
312
|
+
if (property === "fontSize") ownsFontSize = true;
|
|
310
313
|
inherited[property] = typeof next === "string" && /^-?(?:\d+\.?\d*|\.\d+)px$/.test(next) ? Number(next.slice(0, -2)) : next;
|
|
311
|
-
if (property === "lineHeight") lineHeightMultiplier = void 0;
|
|
312
314
|
}
|
|
313
315
|
}
|
|
314
316
|
} catch (err) {
|
|
@@ -340,25 +342,35 @@ function resolveInheritedTextStyle(style, parent) {
|
|
|
340
342
|
}
|
|
341
343
|
}
|
|
342
344
|
}
|
|
343
|
-
if (
|
|
344
|
-
inherited.
|
|
345
|
+
if ((authoredMetrics === null || authoredMetrics === void 0 ? void 0 : authoredMetrics.fontSize) !== void 0 && !authoredMetrics.inheritsFontSize) {
|
|
346
|
+
inherited.fontSize = authoredMetrics.fontSize;
|
|
347
|
+
ownsFontSize = true;
|
|
345
348
|
}
|
|
349
|
+
if (!ownsFontSize && context.animatedText) delete inherited.fontSize;
|
|
350
|
+
var metrics = resolveTextMetrics(inherited, authoredMetrics ? authoredMetrics.lineHeight : lineHeight, context);
|
|
346
351
|
return {
|
|
347
352
|
style: inherited,
|
|
348
|
-
|
|
353
|
+
metrics
|
|
349
354
|
};
|
|
350
355
|
}
|
|
351
356
|
function DOMViewWithInheritedStyle(param) {
|
|
352
357
|
var { props, style } = param;
|
|
353
358
|
var parent = useContext(inheritedTextStyleContext);
|
|
354
|
-
var
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
359
|
+
var context = useContext(ComponentContext);
|
|
360
|
+
var value = resolveInheritedTextStyle(style, parent, context, props.__textMetrics);
|
|
361
|
+
return jsx(ComponentContext.Provider, {
|
|
362
|
+
...context,
|
|
363
|
+
parentFontSize: value.metrics.fontSize,
|
|
364
|
+
parentLineHeight: value.metrics.lineHeight,
|
|
365
|
+
animatedText: value.metrics.inheritsFontSize ? context.animatedText : null,
|
|
366
|
+
children: jsx(inheritedTextStyleContext.Provider, {
|
|
367
|
+
value,
|
|
368
|
+
children: renderDOMView(props)
|
|
369
|
+
})
|
|
358
370
|
});
|
|
359
371
|
}
|
|
360
372
|
function resolvedDOMView(props) {
|
|
361
|
-
if (!hasInheritableStyle(props.style) && !hasInheritableStyle(props.__inheritedStyles)) {
|
|
373
|
+
if (!props.__textMetrics && !hasInheritableStyle(props.style) && !hasInheritableStyle(props.__inheritedStyles)) {
|
|
362
374
|
return renderDOMView(props);
|
|
363
375
|
}
|
|
364
376
|
return jsx(DOMViewWithInheritedStyle, {
|
|
@@ -369,31 +381,62 @@ function resolvedDOMView(props) {
|
|
|
369
381
|
function DOMTextWithInheritedStyle(param) {
|
|
370
382
|
var { props } = param;
|
|
371
383
|
var parent = useContext(inheritedTextStyleContext);
|
|
372
|
-
var
|
|
384
|
+
var context = useContext(ComponentContext);
|
|
385
|
+
var value = resolveInheritedTextStyle([props.style, props.__inheritedStyles], parent, context, props.__textMetrics);
|
|
373
386
|
var resolved = {
|
|
374
387
|
...props,
|
|
375
388
|
style: [props.style, value.style]
|
|
376
389
|
};
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
390
|
+
var content = renderDOMText(resolved);
|
|
391
|
+
var _context_animationDriver;
|
|
392
|
+
var driver = context.animatedText && ((_context_animationDriver = context.animationDriver) !== null && _context_animationDriver !== void 0 ? _context_animationDriver : getConfig().animations);
|
|
393
|
+
if (value.metrics.inheritsFontSize && context.animatedText && (driver === null || driver === void 0 ? void 0 : driver.useTextMetrics)) {
|
|
394
|
+
content = jsx(NativeTextBinding, {
|
|
395
|
+
element: content,
|
|
396
|
+
useTextMetrics: driver.useTextMetrics,
|
|
397
|
+
inheritedText: context.animatedText,
|
|
398
|
+
lineHeight: value.metrics.lineHeight
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
return jsx(ComponentContext.Provider, {
|
|
402
|
+
...context,
|
|
403
|
+
inText: true,
|
|
404
|
+
parentFontSize: value.metrics.fontSize,
|
|
405
|
+
parentLineHeight: value.metrics.lineHeight,
|
|
406
|
+
animatedText: value.metrics.inheritsFontSize ? context.animatedText : null,
|
|
407
|
+
children: jsx(inheritedTextStyleContext.Provider, {
|
|
408
|
+
value,
|
|
409
|
+
children: content
|
|
410
|
+
})
|
|
380
411
|
});
|
|
381
412
|
}
|
|
382
413
|
function resolvedDOMText(props) {
|
|
383
|
-
return props.__inherit ? jsx(DOMTextWithInheritedStyle, { props: resolveDOMMetadata(props) }) : renderDOMText(resolveDOMMetadata(props));
|
|
414
|
+
return props.__inherit || props.__textMetrics ? jsx(DOMTextWithInheritedStyle, { props: resolveDOMMetadata(props) }) : renderDOMText(resolveDOMMetadata(props));
|
|
384
415
|
}
|
|
385
416
|
function DOMTextInputWithInheritedStyle(param) {
|
|
386
417
|
var { props } = param;
|
|
387
418
|
var parent = useContext(inheritedTextStyleContext);
|
|
388
|
-
var
|
|
419
|
+
var context = useContext(ComponentContext);
|
|
420
|
+
var inherited = resolveInheritedTextStyle([props.style, props.__inheritedStyles], parent, context, props.__textMetrics);
|
|
389
421
|
var resolved = {
|
|
390
422
|
...props,
|
|
391
423
|
style: [props.style, inherited.style]
|
|
392
424
|
};
|
|
425
|
+
var _context_animationDriver;
|
|
426
|
+
var driver = context.animatedText && ((_context_animationDriver = context.animationDriver) !== null && _context_animationDriver !== void 0 ? _context_animationDriver : getConfig().animations);
|
|
427
|
+
if (inherited.metrics.inheritsFontSize && context.animatedText && (driver === null || driver === void 0 ? void 0 : driver.useTextMetrics)) {
|
|
428
|
+
return jsx(NativeTextBinding, {
|
|
429
|
+
element: renderDOMTextInput(resolved),
|
|
430
|
+
useTextMetrics: driver.useTextMetrics,
|
|
431
|
+
inheritedText: context.animatedText,
|
|
432
|
+
lineHeight: inherited.metrics.lineHeight,
|
|
433
|
+
isInput: true
|
|
434
|
+
});
|
|
435
|
+
}
|
|
393
436
|
return renderDOMTextInput(resolved);
|
|
394
437
|
}
|
|
395
438
|
function resolvedDOMTextInput(props) {
|
|
396
|
-
return props.__inherit ? jsx(DOMTextInputWithInheritedStyle, { props: resolveDOMMetadata(props) }) : renderDOMTextInput(resolveDOMMetadata(props));
|
|
439
|
+
return props.__inherit || props.__textMetrics ? jsx(DOMTextInputWithInheritedStyle, { props: resolveDOMMetadata(props) }) : renderDOMTextInput(resolveDOMMetadata(props));
|
|
397
440
|
}
|
|
398
441
|
function withViewportRef(render, props) {
|
|
399
442
|
var { scale } = useViewportScale_DO_NOT_USE();
|
|
@@ -410,7 +453,7 @@ function mergeRuntimeStyles(styles) {
|
|
|
410
453
|
merged || (merged = {});
|
|
411
454
|
for (var property in style) {
|
|
412
455
|
var value = style[property];
|
|
413
|
-
if (unitlessNumberProperties.has(property)) {
|
|
456
|
+
if (property === "lineHeight" || unitlessNumberProperties.has(property)) {
|
|
414
457
|
merged[property] = value;
|
|
415
458
|
} else if (typeof value === "number" && Number.isFinite(value)) {
|
|
416
459
|
merged[property] = `${value}px`;
|
|
@@ -445,10 +488,10 @@ function DOMViewWithViewportRef(props) {
|
|
|
445
488
|
return withViewportRef(resolvedDOMView, props);
|
|
446
489
|
}
|
|
447
490
|
function renderDOMView(resolved) {
|
|
448
|
-
if (resolved.onClick === void 0 && !("__inheritedStyles" in resolved)) {
|
|
491
|
+
if (resolved.onClick === void 0 && !("__inheritedStyles" in resolved) && !("__textMetrics" in resolved)) {
|
|
449
492
|
return jsx(View, resolved);
|
|
450
493
|
}
|
|
451
|
-
var { __inheritedStyles: _, onClick, ...hostProps } = resolved;
|
|
494
|
+
var { __inheritedStyles: _, __textMetrics: _metrics, onClick, ...hostProps } = resolved;
|
|
452
495
|
if (onClick === void 0) return jsx(View, hostProps);
|
|
453
496
|
hostProps.onPress = clickFromPress(onClick);
|
|
454
497
|
return jsx(Pressable, hostProps);
|
|
@@ -461,10 +504,10 @@ function DOMTextWithViewportRef(props) {
|
|
|
461
504
|
return withViewportRef(resolvedDOMText, props);
|
|
462
505
|
}
|
|
463
506
|
function renderDOMText(resolved) {
|
|
464
|
-
if (resolved.onClick === void 0 && !("__inheritedStyles" in resolved)) {
|
|
507
|
+
if (resolved.onClick === void 0 && !("__inheritedStyles" in resolved) && !("__textMetrics" in resolved)) {
|
|
465
508
|
return jsx(Text, resolved);
|
|
466
509
|
}
|
|
467
|
-
var { __inheritedStyles: _, onClick, ...hostProps } = resolved;
|
|
510
|
+
var { __inheritedStyles: _, __textMetrics: _metrics, onClick, ...hostProps } = resolved;
|
|
468
511
|
if (onClick === void 0) return jsx(Text, hostProps);
|
|
469
512
|
hostProps.onPress = clickFromPress(onClick);
|
|
470
513
|
return jsx(Text, hostProps);
|
|
@@ -477,10 +520,10 @@ function DOMImageWithViewportRef(props) {
|
|
|
477
520
|
return withViewportRef(renderDOMImage, props);
|
|
478
521
|
}
|
|
479
522
|
function renderDOMImage(resolved) {
|
|
480
|
-
if (resolved.onClick === void 0 && resolved.onLoad === void 0 && resolved.onError === void 0 && !("__inheritedStyles" in resolved)) {
|
|
523
|
+
if (resolved.onClick === void 0 && resolved.onLoad === void 0 && resolved.onError === void 0 && !("__inheritedStyles" in resolved) && !("__textMetrics" in resolved)) {
|
|
481
524
|
return jsx(Image, resolved);
|
|
482
525
|
}
|
|
483
|
-
var { __inheritedStyles: _, onClick, onLoad, onError, ...hostProps } = resolved;
|
|
526
|
+
var { __inheritedStyles: _, __textMetrics: _metrics, onClick, onLoad, onError, ...hostProps } = resolved;
|
|
484
527
|
if (onClick === void 0 && onLoad === void 0 && onError === void 0) {
|
|
485
528
|
return jsx(Image, hostProps);
|
|
486
529
|
}
|
|
@@ -498,10 +541,10 @@ function DOMTextInputWithViewportRef(props) {
|
|
|
498
541
|
return withViewportRef(resolvedDOMTextInput, props);
|
|
499
542
|
}
|
|
500
543
|
function renderDOMTextInput(resolved) {
|
|
501
|
-
if (resolved.onChange === void 0 && resolved.onInput === void 0 && resolved.onKeyDown === void 0 && !("__inheritedStyles" in resolved)) {
|
|
544
|
+
if (resolved.onChange === void 0 && resolved.onInput === void 0 && resolved.onKeyDown === void 0 && !("__inheritedStyles" in resolved) && !("__textMetrics" in resolved)) {
|
|
502
545
|
return jsx(TextInput, resolved);
|
|
503
546
|
}
|
|
504
|
-
var { __inheritedStyles: _, onChange, onInput, onKeyDown, ...hostProps } = resolved;
|
|
547
|
+
var { __inheritedStyles: _, __textMetrics: _metrics, onChange, onInput, onKeyDown, ...hostProps } = resolved;
|
|
505
548
|
if (onChange === void 0 && onInput === void 0 && onKeyDown === void 0) {
|
|
506
549
|
return jsx(TextInput, hostProps);
|
|
507
550
|
}
|
|
@@ -512,6 +555,7 @@ function renderDOMTextInput(resolved) {
|
|
|
512
555
|
return jsx(TextInput, next);
|
|
513
556
|
}
|
|
514
557
|
var DOMRuntimeViewFrame = createComponent({
|
|
558
|
+
isDOM: true,
|
|
515
559
|
...viewStaticConfig,
|
|
516
560
|
validStyles: {
|
|
517
561
|
...viewStaticConfig.validStyles,
|
|
@@ -523,6 +567,7 @@ var DOMRuntimeViewFrame = createComponent({
|
|
|
523
567
|
displayName: "DOMRuntimeView"
|
|
524
568
|
});
|
|
525
569
|
var DOMRuntimeTextFrame = createComponent({
|
|
570
|
+
isDOM: true,
|
|
526
571
|
...textStaticConfig,
|
|
527
572
|
neverSkipProps: domEventProps,
|
|
528
573
|
Component: DOMText,
|
|
@@ -530,6 +575,7 @@ var DOMRuntimeTextFrame = createComponent({
|
|
|
530
575
|
displayName: "DOMRuntimeText"
|
|
531
576
|
});
|
|
532
577
|
var DOMRuntimeImageFrame = createComponent({
|
|
578
|
+
isDOM: true,
|
|
533
579
|
...viewStaticConfig,
|
|
534
580
|
validStyles: {
|
|
535
581
|
...viewStaticConfig.validStyles,
|
|
@@ -541,6 +587,7 @@ var DOMRuntimeImageFrame = createComponent({
|
|
|
541
587
|
displayName: "DOMRuntimeImage"
|
|
542
588
|
});
|
|
543
589
|
var DOMRuntimeTextInputFrame = createComponent({
|
|
590
|
+
isDOM: true,
|
|
544
591
|
...textStaticConfig,
|
|
545
592
|
neverSkipProps: domEventProps,
|
|
546
593
|
Component: DOMTextInput,
|