@tamagui/web 3.0.0-beta.807.1 → 3.0.0-beta.881.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/config.cjs +1 -1
- package/dist/cjs/config.native.cjs +1 -1
- package/dist/cjs/config.native.js +1 -1
- package/dist/cjs/config.native.js.map +1 -1
- package/dist/cjs/createComponent.cjs +40 -19
- package/dist/cjs/createComponent.native.cjs +42 -21
- package/dist/cjs/createComponent.native.js +42 -21
- package/dist/cjs/createComponent.native.js.map +1 -1
- package/dist/cjs/createStyledHOC.cjs +54 -4
- package/dist/cjs/createStyledHOC.native.cjs +55 -4
- package/dist/cjs/createStyledHOC.native.js +55 -4
- package/dist/cjs/createStyledHOC.native.js.map +1 -1
- package/dist/cjs/createTokens.cjs +1 -1
- package/dist/cjs/createTokens.native.cjs +1 -1
- package/dist/cjs/createTokens.native.js +1 -1
- package/dist/cjs/createTokens.native.js.map +1 -1
- package/dist/cjs/createVariable.cjs +0 -10
- package/dist/cjs/createVariable.native.cjs +0 -10
- package/dist/cjs/createVariable.native.js +0 -10
- package/dist/cjs/createVariable.native.js.map +1 -1
- package/dist/cjs/dom/html.cjs +147 -99
- package/dist/cjs/dom/htmlRuntime.native.cjs +6 -2
- package/dist/cjs/dom/htmlRuntime.native.js +6 -2
- package/dist/cjs/dom/htmlRuntime.native.js.map +1 -1
- package/dist/cjs/dom/primitives.native.cjs +16 -13
- package/dist/cjs/dom/primitives.native.js +16 -13
- package/dist/cjs/dom/primitives.native.js.map +1 -1
- package/dist/cjs/helpers/borderComponents.cjs +62 -0
- package/dist/cjs/helpers/borderComponents.native.cjs +82 -0
- package/dist/cjs/helpers/borderComponents.native.js +84 -0
- package/dist/cjs/helpers/borderComponents.native.js.map +1 -0
- package/dist/cjs/helpers/componentDisplayName.cjs +1 -11
- package/dist/cjs/helpers/componentDisplayName.native.cjs +1 -11
- package/dist/cjs/helpers/componentDisplayName.native.js +1 -11
- package/dist/cjs/helpers/componentDisplayName.native.js.map +1 -1
- package/dist/cjs/helpers/createDesignSystem.cjs +0 -2
- package/dist/cjs/helpers/createStyledContext.cjs +10 -18
- package/dist/cjs/helpers/createStyledContext.native.cjs +14 -18
- package/dist/cjs/helpers/createStyledContext.native.js +14 -18
- package/dist/cjs/helpers/createStyledContext.native.js.map +1 -1
- package/dist/cjs/helpers/formatDiagnostic.cjs +8 -10
- package/dist/cjs/helpers/formatDiagnostic.native.cjs +8 -10
- package/dist/cjs/helpers/formatDiagnostic.native.js +8 -10
- package/dist/cjs/helpers/formatDiagnostic.native.js.map +1 -1
- package/dist/cjs/helpers/getCSSStylesAtomic.cjs +133 -114
- package/dist/cjs/helpers/getCSSStylesAtomic.native.cjs +11 -3
- package/dist/cjs/helpers/getCSSStylesAtomic.native.js +11 -3
- package/dist/cjs/helpers/getCSSStylesAtomic.native.js.map +1 -1
- package/dist/cjs/helpers/getCSSStylesAtomicCompiled.cjs +13 -1
- package/dist/cjs/helpers/getCSSStylesAtomicCompiled.native.cjs +15 -1
- package/dist/cjs/helpers/getCSSStylesAtomicCompiled.native.js +15 -1
- package/dist/cjs/helpers/getCSSStylesAtomicCompiled.native.js.map +1 -1
- package/dist/cjs/helpers/getDynamicVal.cjs +5 -1
- package/dist/cjs/helpers/getDynamicVal.native.cjs +5 -1
- package/dist/cjs/helpers/getDynamicVal.native.js +5 -1
- package/dist/cjs/helpers/getDynamicVal.native.js.map +1 -1
- package/dist/cjs/helpers/getSplitStyles.cjs +1063 -2168
- package/dist/cjs/helpers/getSplitStyles.native.cjs +1115 -2515
- package/dist/cjs/helpers/getSplitStyles.native.js +1115 -2515
- package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
- package/dist/cjs/helpers/grammarConfig.cjs +163 -1
- package/dist/cjs/helpers/grammarConfig.native.cjs +186 -1
- package/dist/cjs/helpers/grammarConfig.native.js +186 -1
- package/dist/cjs/helpers/grammarConfig.native.js.map +1 -1
- package/dist/cjs/helpers/insertStyleRule.cjs +5 -1
- package/dist/cjs/helpers/insertStyleRule.native.cjs +7 -1
- package/dist/cjs/helpers/insertStyleRule.native.js +7 -1
- package/dist/cjs/helpers/insertStyleRule.native.js.map +1 -1
- package/dist/cjs/helpers/log.cjs +9 -8
- package/dist/cjs/helpers/log.native.cjs +9 -8
- package/dist/cjs/helpers/log.native.js +9 -8
- package/dist/cjs/helpers/log.native.js.map +1 -1
- package/dist/cjs/helpers/mergeVariants.cjs +44 -13
- package/dist/cjs/helpers/mergeVariants.native.cjs +79 -14
- package/dist/cjs/helpers/mergeVariants.native.js +79 -14
- package/dist/cjs/helpers/mergeVariants.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/nativeStyleEngine.cjs +34 -14
- package/dist/cjs/helpers/nativeStyleEngine.native.cjs +36 -14
- package/dist/cjs/helpers/nativeStyleEngine.native.js +36 -14
- package/dist/cjs/helpers/nativeStyleEngine.native.js.map +1 -1
- package/dist/cjs/helpers/normalizeValueWithProperty.cjs +7 -8
- package/dist/cjs/helpers/normalizeValueWithProperty.native.cjs +9 -8
- package/dist/cjs/helpers/normalizeValueWithProperty.native.js +9 -8
- package/dist/cjs/helpers/normalizeValueWithProperty.native.js.map +1 -1
- package/dist/cjs/helpers/parseBorderShorthand.native.cjs +25 -56
- package/dist/cjs/helpers/parseBorderShorthand.native.js +25 -56
- package/dist/cjs/helpers/parseBorderShorthand.native.js.map +1 -1
- package/dist/cjs/helpers/parseOutlineShorthand.native.cjs +9 -49
- package/dist/cjs/helpers/parseOutlineShorthand.native.js +9 -49
- package/dist/cjs/helpers/parseOutlineShorthand.native.js.map +1 -1
- package/dist/cjs/helpers/resolveSafeArea.cjs +35 -100
- package/dist/cjs/helpers/resolveVariantStyle.cjs +57 -0
- package/dist/cjs/helpers/resolveVariantStyle.native.cjs +67 -0
- package/dist/cjs/helpers/resolveVariantStyle.native.js +69 -0
- package/dist/cjs/helpers/resolveVariantStyle.native.js.map +1 -0
- package/dist/cjs/helpers/splitStyleProps.cjs +46 -0
- package/dist/cjs/helpers/splitStyleProps.native.cjs +49 -0
- package/dist/cjs/helpers/splitStyleProps.native.js +51 -0
- package/dist/cjs/helpers/splitStyleProps.native.js.map +1 -0
- package/dist/cjs/helpers/{getDefaultProps.native.cjs → styleStaticConfig.cjs} +7 -8
- package/dist/cjs/helpers/{getDefaultProps.native.js → styleStaticConfig.native.cjs} +7 -8
- package/dist/cjs/helpers/styleStaticConfig.native.js +31 -0
- package/dist/cjs/helpers/styleStaticConfig.native.js.map +1 -0
- package/dist/cjs/helpers/styleStaticConfigCore.cjs +107 -0
- package/dist/cjs/helpers/styleStaticConfigCore.native.cjs +127 -0
- package/dist/cjs/helpers/styleStaticConfigCore.native.js +129 -0
- package/dist/cjs/helpers/styleStaticConfigCore.native.js.map +1 -0
- package/dist/cjs/helpers/styledDynamic.cjs +160 -0
- package/dist/cjs/helpers/styledDynamic.native.cjs +195 -0
- package/dist/cjs/helpers/styledDynamic.native.js +197 -0
- package/dist/cjs/helpers/styledDynamic.native.js.map +1 -0
- package/dist/cjs/helpers/tokenCategories.cjs +12 -74
- package/dist/cjs/helpers/tokenCategories.native.cjs +12 -76
- package/dist/cjs/helpers/tokenCategories.native.js +12 -76
- package/dist/cjs/helpers/tokenCategories.native.js.map +1 -1
- package/dist/cjs/helpers/variableValue.cjs +17 -12
- package/dist/cjs/helpers/variableValue.native.cjs +46 -23
- package/dist/cjs/helpers/variableValue.native.js +46 -23
- package/dist/cjs/helpers/variableValue.native.js.map +1 -1
- package/dist/cjs/helpers/warnOnce.cjs +5 -4
- package/dist/cjs/helpers/warnOnce.native.cjs +6 -4
- package/dist/cjs/helpers/warnOnce.native.js +6 -4
- package/dist/cjs/helpers/warnOnce.native.js.map +1 -1
- package/dist/cjs/hooks/useAnimationDriver.cjs +2 -2
- package/dist/cjs/hooks/useAnimationDriver.native.cjs +2 -2
- package/dist/cjs/hooks/useAnimationDriver.native.js +2 -2
- package/dist/cjs/hooks/useAnimationDriver.native.js.map +1 -1
- package/dist/cjs/hooks/useComponentState.cjs +41 -82
- package/dist/cjs/hooks/useComponentState.native.cjs +45 -84
- package/dist/cjs/hooks/useComponentState.native.js +45 -84
- package/dist/cjs/hooks/useComponentState.native.js.map +1 -1
- package/dist/cjs/hooks/useMedia.cjs +2 -2
- package/dist/cjs/hooks/useMedia.native.cjs +2 -2
- package/dist/cjs/hooks/useMedia.native.js +2 -2
- package/dist/cjs/hooks/useMedia.native.js.map +1 -1
- package/dist/cjs/hooks/useSplitStyles.cjs +2 -2
- package/dist/cjs/hooks/useSplitStyles.native.cjs +2 -2
- package/dist/cjs/hooks/useSplitStyles.native.js +2 -2
- package/dist/cjs/hooks/useSplitStyles.native.js.map +1 -1
- package/dist/cjs/{helpers/getDefaultProps.cjs → hooks/useStyle.cjs} +10 -4
- package/dist/cjs/{helpers/directStyleCSS.native.js → hooks/useStyle.native.cjs} +16 -6
- package/dist/cjs/hooks/useStyle.native.js +34 -0
- package/dist/cjs/hooks/useStyle.native.js.map +1 -0
- package/dist/cjs/hooks/useThemeState.cjs +25 -90
- package/dist/cjs/hooks/useThemeState.native.cjs +34 -94
- package/dist/cjs/hooks/useThemeState.native.js +34 -94
- package/dist/cjs/hooks/useThemeState.native.js.map +1 -1
- package/dist/cjs/index.cjs +9 -12
- package/dist/cjs/index.native.cjs +9 -12
- package/dist/cjs/index.native.js +9 -12
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/internal-runtime.cjs +8 -7
- package/dist/cjs/internal-runtime.native.cjs +8 -7
- package/dist/cjs/internal-runtime.native.js +8 -7
- package/dist/cjs/internal-runtime.native.js.map +1 -1
- package/dist/cjs/static-resolve.cjs +8 -7
- package/dist/cjs/static-resolve.native.cjs +8 -7
- package/dist/cjs/static-resolve.native.js +8 -7
- package/dist/cjs/static-resolve.native.js.map +1 -1
- package/dist/cjs/style.cjs +91 -0
- package/dist/cjs/style.native.cjs +98 -0
- package/dist/cjs/style.native.js +100 -0
- package/dist/cjs/style.native.js.map +1 -0
- package/dist/cjs/styled.cjs +15 -62
- package/dist/cjs/styled.native.cjs +15 -64
- package/dist/cjs/styled.native.js +15 -64
- package/dist/cjs/styled.native.js.map +1 -1
- package/dist/cjs/types.cjs +4 -22
- package/dist/cjs/types.native.cjs +4 -22
- package/dist/cjs/types.native.js +4 -22
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/views/TamaguiProvider.cjs +1 -2
- package/dist/cjs/views/TamaguiProvider.native.cjs +1 -2
- package/dist/cjs/views/TamaguiProvider.native.js +1 -2
- package/dist/cjs/views/TamaguiProvider.native.js.map +1 -1
- package/dist/cjs/views/Text.cjs +21 -14
- package/dist/cjs/views/Text.native.cjs +5 -2
- package/dist/cjs/views/Text.native.js +5 -2
- package/dist/cjs/views/Text.native.js.map +1 -1
- package/dist/cjs/views/Theme.cjs +2 -2
- package/dist/cjs/views/Theme.native.cjs +2 -2
- package/dist/cjs/views/Theme.native.js +2 -2
- package/dist/cjs/views/Theme.native.js.map +1 -1
- package/dist/cjs/views/ThemeDebug.cjs +1 -4
- package/dist/cjs/views/View.cjs +4 -2
- package/dist/cjs/views/View.native.cjs +4 -2
- package/dist/cjs/views/View.native.js +4 -2
- package/dist/cjs/views/View.native.js.map +1 -1
- package/dist/esm/config.mjs +1 -1
- package/dist/esm/config.mjs.map +1 -1
- package/dist/esm/config.native.js +1 -1
- package/dist/esm/config.native.js.map +1 -1
- package/dist/esm/createComponent.mjs +41 -20
- package/dist/esm/createComponent.mjs.map +1 -1
- package/dist/esm/createComponent.native.js +43 -22
- package/dist/esm/createComponent.native.js.map +1 -1
- package/dist/esm/createStyledHOC.mjs +55 -5
- package/dist/esm/createStyledHOC.mjs.map +1 -1
- package/dist/esm/createStyledHOC.native.js +56 -5
- package/dist/esm/createStyledHOC.native.js.map +1 -1
- package/dist/esm/createTokens.mjs +1 -1
- package/dist/esm/createTokens.mjs.map +1 -1
- package/dist/esm/createTokens.native.js +1 -1
- package/dist/esm/createTokens.native.js.map +1 -1
- package/dist/esm/createVariable.mjs +1 -9
- package/dist/esm/createVariable.mjs.map +1 -1
- package/dist/esm/createVariable.native.js +1 -9
- package/dist/esm/createVariable.native.js.map +1 -1
- package/dist/esm/dom/html.mjs +147 -99
- package/dist/esm/dom/html.mjs.map +1 -1
- package/dist/esm/dom/htmlRuntime.native.js +7 -3
- package/dist/esm/dom/htmlRuntime.native.js.map +1 -1
- package/dist/esm/dom/primitives.native.js +16 -13
- package/dist/esm/dom/primitives.native.js.map +1 -1
- package/dist/esm/helpers/borderComponents.mjs +37 -0
- package/dist/esm/helpers/borderComponents.mjs.map +1 -0
- package/dist/esm/helpers/borderComponents.native.js +55 -0
- package/dist/esm/helpers/borderComponents.native.js.map +1 -0
- package/dist/esm/helpers/componentDisplayName.mjs +1 -8
- package/dist/esm/helpers/componentDisplayName.mjs.map +1 -1
- package/dist/esm/helpers/componentDisplayName.native.js +1 -8
- package/dist/esm/helpers/componentDisplayName.native.js.map +1 -1
- package/dist/esm/helpers/createDesignSystem.mjs +0 -2
- package/dist/esm/helpers/createDesignSystem.mjs.map +1 -1
- package/dist/esm/helpers/createStyledContext.mjs +10 -18
- package/dist/esm/helpers/createStyledContext.mjs.map +1 -1
- package/dist/esm/helpers/createStyledContext.native.js +14 -18
- package/dist/esm/helpers/createStyledContext.native.js.map +1 -1
- package/dist/esm/helpers/formatDiagnostic.mjs +8 -10
- package/dist/esm/helpers/formatDiagnostic.mjs.map +1 -1
- package/dist/esm/helpers/formatDiagnostic.native.js +8 -10
- package/dist/esm/helpers/formatDiagnostic.native.js.map +1 -1
- package/dist/esm/helpers/getCSSStylesAtomic.mjs +131 -114
- package/dist/esm/helpers/getCSSStylesAtomic.mjs.map +1 -1
- package/dist/esm/helpers/getCSSStylesAtomic.native.js +7 -4
- package/dist/esm/helpers/getCSSStylesAtomic.native.js.map +1 -1
- package/dist/esm/helpers/getCSSStylesAtomicCompiled.mjs +8 -1
- package/dist/esm/helpers/getCSSStylesAtomicCompiled.mjs.map +1 -1
- package/dist/esm/helpers/getCSSStylesAtomicCompiled.native.js +10 -1
- package/dist/esm/helpers/getCSSStylesAtomicCompiled.native.js.map +1 -1
- package/dist/esm/helpers/getDynamicVal.mjs +5 -1
- package/dist/esm/helpers/getDynamicVal.mjs.map +1 -1
- package/dist/esm/helpers/getDynamicVal.native.js +5 -1
- package/dist/esm/helpers/getDynamicVal.native.js.map +1 -1
- package/dist/esm/helpers/getSplitStyles.mjs +1052 -2151
- package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
- package/dist/esm/helpers/getSplitStyles.native.js +1090 -2481
- package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
- package/dist/esm/helpers/grammarConfig.mjs +164 -2
- package/dist/esm/helpers/grammarConfig.mjs.map +1 -1
- package/dist/esm/helpers/grammarConfig.native.js +187 -2
- package/dist/esm/helpers/grammarConfig.native.js.map +1 -1
- package/dist/esm/helpers/insertStyleRule.mjs +5 -2
- package/dist/esm/helpers/insertStyleRule.mjs.map +1 -1
- package/dist/esm/helpers/insertStyleRule.native.js +7 -2
- package/dist/esm/helpers/insertStyleRule.native.js.map +1 -1
- package/dist/esm/helpers/log.mjs +9 -8
- package/dist/esm/helpers/log.mjs.map +1 -1
- package/dist/esm/helpers/log.native.js +9 -8
- package/dist/esm/helpers/log.native.js.map +1 -1
- package/dist/esm/helpers/mergeVariants.mjs +44 -13
- package/dist/esm/helpers/mergeVariants.mjs.map +1 -1
- package/dist/esm/helpers/mergeVariants.native.js +79 -14
- package/dist/esm/helpers/mergeVariants.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/nativeStyleEngine.mjs +34 -15
- package/dist/esm/helpers/nativeStyleEngine.mjs.map +1 -1
- package/dist/esm/helpers/nativeStyleEngine.native.js +36 -15
- package/dist/esm/helpers/nativeStyleEngine.native.js.map +1 -1
- package/dist/esm/helpers/normalizeValueWithProperty.mjs +7 -8
- package/dist/esm/helpers/normalizeValueWithProperty.mjs.map +1 -1
- package/dist/esm/helpers/normalizeValueWithProperty.native.js +9 -8
- package/dist/esm/helpers/normalizeValueWithProperty.native.js.map +1 -1
- package/dist/esm/helpers/parseBorderShorthand.native.js +23 -56
- package/dist/esm/helpers/parseBorderShorthand.native.js.map +1 -1
- package/dist/esm/helpers/parseOutlineShorthand.native.js +10 -49
- package/dist/esm/helpers/parseOutlineShorthand.native.js.map +1 -1
- package/dist/esm/helpers/resolveSafeArea.mjs +35 -97
- package/dist/esm/helpers/resolveSafeArea.mjs.map +1 -1
- package/dist/esm/helpers/resolveVariantStyle.mjs +38 -0
- package/dist/esm/helpers/resolveVariantStyle.mjs.map +1 -0
- package/dist/esm/helpers/resolveVariantStyle.native.js +46 -0
- package/dist/esm/helpers/resolveVariantStyle.native.js.map +1 -0
- package/dist/esm/helpers/splitStyleProps.mjs +27 -0
- package/dist/esm/helpers/splitStyleProps.mjs.map +1 -0
- package/dist/esm/helpers/splitStyleProps.native.js +28 -0
- package/dist/esm/helpers/splitStyleProps.native.js.map +1 -0
- package/dist/esm/helpers/styleStaticConfig.mjs +8 -0
- package/dist/esm/helpers/styleStaticConfig.mjs.map +1 -0
- package/dist/esm/helpers/styleStaticConfig.native.js +8 -0
- package/dist/esm/helpers/styleStaticConfig.native.js.map +1 -0
- package/dist/esm/helpers/styleStaticConfigCore.mjs +88 -0
- package/dist/esm/helpers/styleStaticConfigCore.mjs.map +1 -0
- package/dist/esm/helpers/styleStaticConfigCore.native.js +106 -0
- package/dist/esm/helpers/styleStaticConfigCore.native.js.map +1 -0
- package/dist/esm/helpers/styledDynamic.mjs +136 -0
- package/dist/esm/helpers/styledDynamic.mjs.map +1 -0
- package/dist/esm/helpers/styledDynamic.native.js +169 -0
- package/dist/esm/helpers/styledDynamic.native.js.map +1 -0
- package/dist/esm/helpers/tokenCategories.mjs +12 -72
- package/dist/esm/helpers/tokenCategories.mjs.map +1 -1
- package/dist/esm/helpers/tokenCategories.native.js +12 -74
- package/dist/esm/helpers/tokenCategories.native.js.map +1 -1
- package/dist/esm/helpers/variableValue.mjs +17 -12
- package/dist/esm/helpers/variableValue.mjs.map +1 -1
- package/dist/esm/helpers/variableValue.native.js +46 -23
- package/dist/esm/helpers/variableValue.native.js.map +1 -1
- package/dist/esm/helpers/warnOnce.mjs +5 -4
- package/dist/esm/helpers/warnOnce.mjs.map +1 -1
- package/dist/esm/helpers/warnOnce.native.js +6 -4
- package/dist/esm/helpers/warnOnce.native.js.map +1 -1
- package/dist/esm/hooks/useAnimationDriver.mjs +2 -2
- package/dist/esm/hooks/useAnimationDriver.mjs.map +1 -1
- package/dist/esm/hooks/useAnimationDriver.native.js +2 -2
- package/dist/esm/hooks/useAnimationDriver.native.js.map +1 -1
- package/dist/esm/hooks/useComponentState.mjs +41 -82
- package/dist/esm/hooks/useComponentState.mjs.map +1 -1
- package/dist/esm/hooks/useComponentState.native.js +45 -84
- package/dist/esm/hooks/useComponentState.native.js.map +1 -1
- package/dist/esm/hooks/useMedia.mjs +2 -2
- package/dist/esm/hooks/useMedia.mjs.map +1 -1
- package/dist/esm/hooks/useMedia.native.js +2 -2
- package/dist/esm/hooks/useMedia.native.js.map +1 -1
- package/dist/esm/hooks/useSplitStyles.mjs +2 -2
- package/dist/esm/hooks/useSplitStyles.mjs.map +1 -1
- package/dist/esm/hooks/useSplitStyles.native.js +2 -2
- package/dist/esm/hooks/useSplitStyles.native.js.map +1 -1
- package/dist/esm/hooks/useStyle.mjs +11 -0
- package/dist/esm/hooks/useStyle.mjs.map +1 -0
- package/dist/esm/hooks/useStyle.native.js +11 -0
- package/dist/esm/hooks/useStyle.native.js.map +1 -0
- package/dist/esm/hooks/useThemeState.mjs +25 -90
- package/dist/esm/hooks/useThemeState.mjs.map +1 -1
- package/dist/esm/hooks/useThemeState.native.js +34 -94
- package/dist/esm/hooks/useThemeState.native.js.map +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/index.native.js +8 -8
- package/dist/esm/internal-runtime.mjs +8 -7
- package/dist/esm/internal-runtime.mjs.map +1 -1
- package/dist/esm/internal-runtime.native.js +8 -7
- package/dist/esm/internal-runtime.native.js.map +1 -1
- package/dist/esm/static-resolve.mjs +11 -9
- package/dist/esm/static-resolve.mjs.map +1 -1
- package/dist/esm/static-resolve.native.js +11 -9
- package/dist/esm/static-resolve.native.js.map +1 -1
- package/dist/esm/style.mjs +58 -0
- package/dist/esm/style.mjs.map +1 -0
- package/dist/esm/style.native.js +63 -0
- package/dist/esm/style.native.js.map +1 -0
- package/dist/esm/styled.mjs +17 -62
- package/dist/esm/styled.mjs.map +1 -1
- package/dist/esm/styled.native.js +17 -64
- package/dist/esm/styled.native.js.map +1 -1
- package/dist/esm/types.mjs +3 -21
- package/dist/esm/types.mjs.map +1 -1
- package/dist/esm/types.native.js +3 -21
- package/dist/esm/types.native.js.map +1 -1
- package/dist/esm/views/TamaguiProvider.mjs +1 -2
- package/dist/esm/views/TamaguiProvider.mjs.map +1 -1
- package/dist/esm/views/TamaguiProvider.native.js +1 -2
- package/dist/esm/views/TamaguiProvider.native.js.map +1 -1
- package/dist/esm/views/Text.mjs +21 -14
- package/dist/esm/views/Text.mjs.map +1 -1
- package/dist/esm/views/Text.native.js +4 -2
- package/dist/esm/views/Text.native.js.map +1 -1
- package/dist/esm/views/Theme.mjs +2 -2
- package/dist/esm/views/Theme.mjs.map +1 -1
- package/dist/esm/views/Theme.native.js +2 -2
- package/dist/esm/views/Theme.native.js.map +1 -1
- package/dist/esm/views/ThemeDebug.mjs +1 -4
- package/dist/esm/views/ThemeDebug.mjs.map +1 -1
- package/dist/esm/views/View.mjs +4 -2
- package/dist/esm/views/View.mjs.map +1 -1
- package/dist/esm/views/View.native.js +4 -2
- package/dist/esm/views/View.native.js.map +1 -1
- package/package.json +15 -15
- package/src/config.ts +1 -1
- package/src/createComponent.tsx +62 -31
- package/src/createStyledHOC.tsx +56 -9
- package/src/createTokens.ts +1 -1
- package/src/createVariable.ts +0 -10
- package/src/dom/html.tsx +778 -877
- package/src/dom/htmlRuntime.native.tsx +7 -3
- package/src/dom/primitives.native.tsx +30 -39
- package/src/helpers/borderComponents.ts +62 -0
- package/src/helpers/componentDisplayName.ts +0 -11
- package/src/helpers/createDesignSystem.ts +0 -2
- package/src/helpers/createStyledContext.tsx +15 -53
- package/src/helpers/formatDiagnostic.ts +11 -13
- package/src/helpers/getCSSStylesAtomic.native.ts +6 -3
- package/src/helpers/getCSSStylesAtomic.ts +197 -206
- package/src/helpers/getCSSStylesAtomicCompiled.ts +13 -1
- package/src/helpers/getDynamicVal.ts +4 -0
- package/src/helpers/getSplitStyles.tsx +2058 -4052
- package/src/helpers/grammarConfig.ts +218 -1
- package/src/helpers/insertStyleRule.tsx +4 -2
- package/src/helpers/log.ts +12 -11
- package/src/helpers/mergeVariants.ts +55 -18
- package/src/helpers/nativeOnlyProps.ts +0 -1
- package/src/helpers/nativeStyleEngine.ts +55 -14
- package/src/helpers/normalizeValueWithProperty.ts +10 -12
- package/src/helpers/parseBorderShorthand.native.ts +23 -45
- package/src/helpers/parseOutlineShorthand.native.ts +9 -40
- package/src/helpers/resolveSafeArea.ts +34 -101
- package/src/helpers/resolveVariantStyle.ts +77 -0
- package/src/helpers/splitStyleProps.ts +166 -0
- package/src/helpers/styleFrontend.ts +16 -9
- package/src/helpers/styleStaticConfig.ts +21 -0
- package/src/helpers/styleStaticConfigCore.ts +110 -0
- package/src/helpers/styledDynamic.ts +191 -0
- package/src/helpers/tokenCategories.ts +32 -88
- package/src/helpers/variableValue.ts +20 -15
- package/src/helpers/warnOnce.ts +5 -4
- package/src/hooks/useAnimationDriver.ts +6 -2
- package/src/hooks/useComponentState.ts +55 -183
- package/src/hooks/useMedia.tsx +10 -8
- package/src/hooks/useSplitStyles.tsx +17 -2
- package/src/hooks/useStyle.ts +10 -0
- package/src/hooks/useTheme.tsx +1 -1
- package/src/hooks/useThemeState.ts +51 -264
- package/src/index.ts +14 -10
- package/src/internal-runtime.ts +10 -9
- package/src/internalRuntimeTypes.ts +1 -0
- package/src/static-resolve.ts +25 -18
- package/src/style.ts +97 -0
- package/src/styled.tsx +46 -332
- package/src/types.tsx +107 -192
- package/src/views/TamaguiProvider.tsx +0 -2
- package/src/views/Text.tsx +26 -21
- package/src/views/Theme.tsx +10 -8
- package/src/views/ThemeDebug.tsx +0 -1
- package/src/views/View.tsx +6 -7
- package/types/createComponent.d.ts.map +1 -1
- package/types/createStyledHOC.d.ts.map +1 -1
- package/types/createVariable.d.ts +0 -2
- package/types/createVariable.d.ts.map +1 -1
- package/types/dom/html.d.ts.map +1 -1
- package/types/dom/htmlRuntime.native.d.ts.map +1 -1
- package/types/dom/primitives.native.d.ts.map +1 -1
- package/types/helpers/borderComponents.d.ts +10 -0
- package/types/helpers/borderComponents.d.ts.map +1 -0
- package/types/helpers/componentDisplayName.d.ts +0 -3
- package/types/helpers/componentDisplayName.d.ts.map +1 -1
- package/types/helpers/createDesignSystem.d.ts.map +1 -1
- package/types/helpers/createStyledContext.d.ts.map +1 -1
- package/types/helpers/formatDiagnostic.d.ts.map +1 -1
- package/types/helpers/getCSSStylesAtomic.d.ts +25 -22
- package/types/helpers/getCSSStylesAtomic.d.ts.map +1 -1
- package/types/helpers/getCSSStylesAtomic.native.d.ts +5 -0
- package/types/helpers/getCSSStylesAtomic.native.d.ts.map +1 -1
- package/types/helpers/getCSSStylesAtomicCompiled.d.ts +6 -1
- package/types/helpers/getCSSStylesAtomicCompiled.d.ts.map +1 -1
- package/types/helpers/getDynamicVal.d.ts.map +1 -1
- package/types/helpers/getSplitStyles.d.ts +9 -11
- package/types/helpers/getSplitStyles.d.ts.map +1 -1
- package/types/helpers/grammarConfig.d.ts +25 -2
- package/types/helpers/grammarConfig.d.ts.map +1 -1
- package/types/helpers/insertStyleRule.d.ts +1 -0
- package/types/helpers/insertStyleRule.d.ts.map +1 -1
- package/types/helpers/log.d.ts.map +1 -1
- package/types/helpers/mergeVariants.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/nativeStyleEngine.d.ts +6 -0
- package/types/helpers/nativeStyleEngine.d.ts.map +1 -1
- package/types/helpers/normalizeValueWithProperty.d.ts.map +1 -1
- package/types/helpers/parseBorderShorthand.native.d.ts +1 -0
- package/types/helpers/parseBorderShorthand.native.d.ts.map +1 -1
- package/types/helpers/parseOutlineShorthand.native.d.ts.map +1 -1
- package/types/helpers/resolveSafeArea.d.ts +0 -1
- package/types/helpers/resolveSafeArea.d.ts.map +1 -1
- package/types/helpers/resolveVariantStyle.d.ts +3 -0
- package/types/helpers/resolveVariantStyle.d.ts.map +1 -0
- package/types/helpers/splitStyleProps.d.ts +44 -0
- package/types/helpers/splitStyleProps.d.ts.map +1 -0
- package/types/helpers/styleFrontend.d.ts +7 -9
- package/types/helpers/styleFrontend.d.ts.map +1 -1
- package/types/helpers/styleStaticConfig.d.ts +14 -0
- package/types/helpers/styleStaticConfig.d.ts.map +1 -0
- package/types/helpers/styleStaticConfigCore.d.ts +4 -0
- package/types/helpers/styleStaticConfigCore.d.ts.map +1 -0
- package/types/helpers/styledDynamic.d.ts +18 -0
- package/types/helpers/styledDynamic.d.ts.map +1 -0
- package/types/helpers/tokenCategories.d.ts +0 -1
- package/types/helpers/tokenCategories.d.ts.map +1 -1
- package/types/helpers/variableValue.d.ts.map +1 -1
- package/types/helpers/warnOnce.d.ts.map +1 -1
- package/types/helpers/webPropsToSkip.native.d.ts +68 -68
- package/types/hooks/useAnimationDriver.d.ts.map +1 -1
- package/types/hooks/useComponentState.d.ts.map +1 -1
- package/types/hooks/useMedia.d.ts.map +1 -1
- package/types/hooks/useSplitStyles.d.ts.map +1 -1
- package/types/hooks/useStyle.d.ts +4 -0
- package/types/hooks/useStyle.d.ts.map +1 -0
- package/types/hooks/useThemeState.d.ts +1 -11
- package/types/hooks/useThemeState.d.ts.map +1 -1
- package/types/index.d.ts +8 -8
- package/types/index.d.ts.map +1 -1
- package/types/internal-runtime.d.ts.map +1 -1
- package/types/internalRuntimeTypes.d.ts +1 -1
- package/types/internalRuntimeTypes.d.ts.map +1 -1
- package/types/static-resolve.d.ts +2 -2
- package/types/static-resolve.d.ts.map +1 -1
- package/types/style.d.ts +18 -0
- package/types/style.d.ts.map +1 -0
- package/types/styled.d.ts +12 -48
- package/types/styled.d.ts.map +1 -1
- package/types/types.d.ts +75 -60
- package/types/types.d.ts.map +1 -1
- package/types/views/TamaguiProvider.d.ts +1 -1
- package/types/views/TamaguiProvider.d.ts.map +1 -1
- package/types/views/Text.d.ts.map +1 -1
- package/types/views/Theme.d.ts.map +1 -1
- package/types/views/ThemeDebug.d.ts.map +1 -1
- package/types/views/View.d.ts.map +1 -1
- package/dist/cjs/helpers/directStyleCSS.cjs +0 -348
- package/dist/cjs/helpers/directStyleCSS.native.cjs +0 -20
- package/dist/cjs/helpers/directStyleCSS.native.js.map +0 -1
- package/dist/cjs/helpers/directStyleCSSCompiled.cjs +0 -40
- package/dist/cjs/helpers/directStyleCSSCompiled.native.cjs +0 -46
- package/dist/cjs/helpers/directStyleCSSCompiled.native.js +0 -48
- package/dist/cjs/helpers/directStyleCSSCompiled.native.js.map +0 -1
- package/dist/cjs/helpers/getDefaultProps.native.js.map +0 -1
- package/dist/cjs/helpers/getVariantExtras.cjs +0 -91
- package/dist/cjs/helpers/getVariantExtras.native.cjs +0 -94
- package/dist/cjs/helpers/getVariantExtras.native.js +0 -96
- package/dist/cjs/helpers/getVariantExtras.native.js.map +0 -1
- package/dist/cjs/helpers/themeable.cjs +0 -92
- package/dist/cjs/helpers/themeable.native.cjs +0 -95
- package/dist/cjs/helpers/themeable.native.js +0 -97
- package/dist/cjs/helpers/themeable.native.js.map +0 -1
- package/dist/cjs/hooks/useProps.cjs +0 -129
- package/dist/cjs/hooks/useProps.native.cjs +0 -135
- package/dist/cjs/hooks/useProps.native.js +0 -137
- package/dist/cjs/hooks/useProps.native.js.map +0 -1
- package/dist/esm/helpers/directStyleCSS.mjs +0 -320
- package/dist/esm/helpers/directStyleCSS.mjs.map +0 -1
- package/dist/esm/helpers/directStyleCSS.native.js +0 -1
- package/dist/esm/helpers/directStyleCSSCompiled.mjs +0 -11
- package/dist/esm/helpers/directStyleCSSCompiled.mjs.map +0 -1
- package/dist/esm/helpers/directStyleCSSCompiled.native.js +0 -15
- package/dist/esm/helpers/directStyleCSSCompiled.native.js.map +0 -1
- package/dist/esm/helpers/getDefaultProps.mjs +0 -4
- package/dist/esm/helpers/getDefaultProps.mjs.map +0 -1
- package/dist/esm/helpers/getDefaultProps.native.js +0 -6
- package/dist/esm/helpers/getDefaultProps.native.js.map +0 -1
- package/dist/esm/helpers/getVariantExtras.mjs +0 -69
- package/dist/esm/helpers/getVariantExtras.mjs.map +0 -1
- package/dist/esm/helpers/getVariantExtras.native.js +0 -70
- package/dist/esm/helpers/getVariantExtras.native.js.map +0 -1
- package/dist/esm/helpers/themeable.mjs +0 -67
- package/dist/esm/helpers/themeable.mjs.map +0 -1
- package/dist/esm/helpers/themeable.native.js +0 -68
- package/dist/esm/helpers/themeable.native.js.map +0 -1
- package/dist/esm/hooks/useProps.mjs +0 -100
- package/dist/esm/hooks/useProps.mjs.map +0 -1
- package/dist/esm/hooks/useProps.native.js +0 -104
- package/dist/esm/hooks/useProps.native.js.map +0 -1
- package/src/helpers/directStyleCSS.native.ts +0 -1
- package/src/helpers/directStyleCSS.ts +0 -534
- package/src/helpers/directStyleCSSCompiled.ts +0 -32
- package/src/helpers/getDefaultProps.ts +0 -3
- package/src/helpers/getVariantExtras.tsx +0 -95
- package/src/helpers/themeable.tsx +0 -96
- package/src/hooks/useProps.tsx +0 -186
- package/types/helpers/directStyleCSS.d.ts +0 -28
- package/types/helpers/directStyleCSS.d.ts.map +0 -1
- package/types/helpers/directStyleCSS.native.d.ts +0 -2
- package/types/helpers/directStyleCSS.native.d.ts.map +0 -1
- package/types/helpers/directStyleCSSCompiled.d.ts +0 -10
- package/types/helpers/directStyleCSSCompiled.d.ts.map +0 -1
- package/types/helpers/getDefaultProps.d.ts +0 -3
- package/types/helpers/getDefaultProps.d.ts.map +0 -1
- package/types/helpers/getVariantExtras.d.ts +0 -4
- package/types/helpers/getVariantExtras.d.ts.map +0 -1
- package/types/helpers/themeable.d.ts +0 -3
- package/types/helpers/themeable.d.ts.map +0 -1
- package/types/hooks/useProps.d.ts +0 -39
- package/types/hooks/useProps.d.ts.map +0 -1
|
@@ -2,74 +2,74 @@
|
|
|
2
2
|
* Web-only props and event handlers that should be skipped on native
|
|
3
3
|
*/
|
|
4
4
|
export declare const webPropsToSkip: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
5
|
+
WebkitBackdropFilter: true;
|
|
6
|
+
backdropFilter: true;
|
|
7
|
+
backgroundAttachment: true;
|
|
8
|
+
backgroundBlendMode: true;
|
|
9
|
+
backgroundClip: true;
|
|
10
|
+
backgroundOrigin: true;
|
|
11
|
+
backgroundPosition: true;
|
|
12
|
+
backgroundRepeat: true;
|
|
13
|
+
backgroundSize: true;
|
|
14
|
+
borderBottom: true;
|
|
15
|
+
borderBottomStyle: true;
|
|
16
|
+
borderImage: true;
|
|
17
|
+
borderLeft: true;
|
|
18
|
+
borderLeftStyle: true;
|
|
19
|
+
borderRight: true;
|
|
20
|
+
borderRightStyle: true;
|
|
21
|
+
borderTop: true;
|
|
22
|
+
borderTopStyle: true;
|
|
23
|
+
caretColor: true;
|
|
24
|
+
clipPath: true;
|
|
25
|
+
contain: true;
|
|
26
|
+
containerName: true;
|
|
27
|
+
containerType: true;
|
|
28
|
+
content: true;
|
|
29
|
+
float: true;
|
|
30
|
+
mask: true;
|
|
31
|
+
maskBorder: true;
|
|
32
|
+
maskBorderMode: true;
|
|
33
|
+
maskBorderOutset: true;
|
|
34
|
+
maskBorderRepeat: true;
|
|
35
|
+
maskBorderSlice: true;
|
|
36
|
+
maskBorderSource: true;
|
|
37
|
+
maskBorderWidth: true;
|
|
38
|
+
maskClip: true;
|
|
39
|
+
maskComposite: true;
|
|
40
|
+
maskImage: true;
|
|
41
|
+
maskMode: true;
|
|
42
|
+
maskOrigin: true;
|
|
43
|
+
maskPosition: true;
|
|
44
|
+
maskRepeat: true;
|
|
45
|
+
maskSize: true;
|
|
46
|
+
maskType: true;
|
|
47
|
+
objectFit: true;
|
|
48
|
+
objectPosition: true;
|
|
49
|
+
overflowBlock: true;
|
|
50
|
+
overflowInline: true;
|
|
51
|
+
overflowWrap: true;
|
|
52
|
+
overflowX: true;
|
|
53
|
+
overflowY: true;
|
|
54
|
+
resize: true;
|
|
55
|
+
scrollbarWidth: true;
|
|
56
|
+
textEmphasis: true;
|
|
57
|
+
textWrap: true;
|
|
58
|
+
touchAction: true;
|
|
59
|
+
transformStyle: true;
|
|
60
|
+
transition: true;
|
|
61
|
+
transitionBehavior: true;
|
|
62
|
+
transitionDelay: true;
|
|
63
|
+
transitionDuration: true;
|
|
64
|
+
transitionProperty: true;
|
|
65
|
+
transitionTimingFunction: true;
|
|
66
|
+
userSelect: true;
|
|
67
|
+
willChange: true;
|
|
68
|
+
WebkitBoxOrient: true;
|
|
69
|
+
WebkitLineClamp: true;
|
|
70
|
+
textDecorationDistance: true;
|
|
71
|
+
whiteSpace: true;
|
|
72
|
+
wordWrap: true;
|
|
73
73
|
onClick: number;
|
|
74
74
|
onDoubleClick: number;
|
|
75
75
|
onContextMenu: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAnimationDriver.d.ts","sourceRoot":"","sources":["../../src/hooks/useAnimationDriver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EAEf,uBAAuB,EACvB,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,UAAU,CAAA;AAMjB,wBAAgB,kBAAkB,IAAI,eAAe,
|
|
1
|
+
{"version":3,"file":"useAnimationDriver.d.ts","sourceRoot":"","sources":["../../src/hooks/useAnimationDriver.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,eAAe,EAEf,uBAAuB,EACvB,yBAAyB,EACzB,sBAAsB,EACtB,uBAAuB,EACxB,MAAM,UAAU,CAAA;AAMjB,wBAAgB,kBAAkB,IAAI,eAAe,CAUpD;AAoBD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,uBAAuB,CAAC,GAAG,CAAC,CAE/E;AAED,eAAO,MAAM,sBAAsB,EAAE,sBAC8B,CAAA;AAEnE,eAAO,MAAM,uBAAuB,EAAE,uBAC+B,CAAA;AAErE,eAAO,MAAM,yBAAyB,EAAE,yBAC4B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComponentState.d.ts","sourceRoot":"","sources":["../../src/hooks/useComponentState.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useComponentState.d.ts","sourceRoot":"","sources":["../../src/hooks/useComponentState.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,iBAAiB,EACjB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACrB,SAAS,EAEV,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,eAAO,MAAM,iBAAiB,UACrB,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,mBACjC,iBAAiB,CAAC,iBAAiB,CAAC,gBACvC,YAAY,UAClB,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;sCA6LO,OAAO,qBAAqB,OAAO;CAyCxE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMedia.d.ts","sourceRoot":"","sources":["../../src/hooks/useMedia.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AACrD,OAAO,KAAK,EACV,iBAAiB,EACjB,SAAS,EAET,qBAAqB,EACrB,aAAa,EACb,WAAW,EACZ,MAAM,UAAU,CAAA;AASjB,eAAO,MAAM,cAAc,WAAY,qBAAqB,SAgB3D,CAAA;AAaD,wBAAgB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"useMedia.d.ts","sourceRoot":"","sources":["../../src/hooks/useMedia.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AACrD,OAAO,KAAK,EACV,iBAAiB,EACjB,SAAS,EAET,qBAAqB,EACrB,aAAa,EACb,WAAW,EACZ,MAAM,UAAU,CAAA;AASjB,eAAO,MAAM,cAAc,WAAY,qBAAqB,SAgB3D,CAAA;AAaD,wBAAgB,mBAAmB,SA6ClC;AAiBD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;IAC9B,SAAS;IACT,QAAQ;CACT,CAAA;AAED,wBAAgB,oBAAoB,SA0BnC;AAED,KAAK,UAAU,GAAG;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;CAC1B,CAAA;AAiDD,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,GAAG,EACR,OAAO,CAAC,EAAE,OAAO,EACjB,IAAI,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,EACzB,sBAAsB,UAAQ,QAa/B;AAyFD,wBAAgB,QAAQ,CACtB,gBAAgB,CAAC,EAAE,iBAAiB,EACpC,KAAK,CAAC,EAAE,SAAS,EAGjB,GAAG,CAAC,EAAE,MAAM,GACX,aAAa,CA+Kf;AAKD,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,OAAO,QAE9C;AAED,wBAAgB,aAAa,CAAC,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,WAAW,2BAa1E;AAID,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,UAK1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSplitStyles.d.ts","sourceRoot":"","sources":["../../src/hooks/useSplitStyles.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkB,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAS9E,eAAO,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"useSplitStyles.d.ts","sourceRoot":"","sources":["../../src/hooks/useSplitStyles.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAkB,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAS9E,eAAO,MAAM,cAAc,EAAE,aA6B5B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStyle.d.ts","sourceRoot":"","sources":["../../src/hooks/useStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAIrD,sFAAsF;AACtF,wBAAgB,QAAQ,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,CAIzE"}
|
|
@@ -7,7 +7,6 @@ export declare const forceUpdateThemes: () => void;
|
|
|
7
7
|
export declare const getThemeState: (id: ID) => ThemeState | undefined;
|
|
8
8
|
export declare const getThemeUpdateLayer: (id: ID) => ThemeUpdateState | undefined;
|
|
9
9
|
export declare const getThemeProviderParent: (id: ID) => string | undefined;
|
|
10
|
-
/** introspection for devtools and leak probes: entries retained per map */
|
|
11
10
|
export declare const getThemeProviderChainSizes: () => {
|
|
12
11
|
layers: number;
|
|
13
12
|
parents: number;
|
|
@@ -15,17 +14,8 @@ export declare const getThemeProviderChainSizes: () => {
|
|
|
15
14
|
export declare const getRootThemeState: () => ThemeState | null;
|
|
16
15
|
export declare const useThemeState: (props: UseThemeWithStateProps, isRoot: boolean | undefined, keys: MutableRefObject<Set<string> | null>, schemeKeys?: MutableRefObject<Set<string> | null>, cascadeOnChange?: boolean, optimizeForFirstRender?: boolean) => ThemeState;
|
|
17
16
|
export declare function getNewThemeName(parentName: string | undefined, props: UseThemeWithStateProps, forceUpdate?: boolean): string | null;
|
|
18
|
-
/** current config-generation size for development diagnostics and behavior probes */
|
|
19
17
|
export declare const getThemeNameCacheSize: () => number;
|
|
20
|
-
|
|
21
|
-
* Which theme a `<Theme>` node resolves to, given the theme it sits under.
|
|
22
|
-
*
|
|
23
|
-
* Pure: parent name, authored name, and the config's theme map are the whole
|
|
24
|
-
* input. That is what lets the zero-runtime compiler resolve a nested static
|
|
25
|
-
* `<Theme>` chain to the same names the runtime would, instead of guessing at
|
|
26
|
-
* how the composition works. `null` means the node did not change the theme.
|
|
27
|
-
*/
|
|
28
|
-
export declare function resolveThemeName(parentName: string, name: string | undefined, reset: boolean | undefined, themes: Record<string, any>, forceUpdate?: boolean): string | null;
|
|
18
|
+
export declare function resolveThemeName(parentName: string, name: string | undefined, themes: Record<string, any>, forceUpdate?: boolean): string | null;
|
|
29
19
|
export declare const hasThemeUpdatingProps: (props: UseThemeWithStateProps) => boolean;
|
|
30
20
|
export {};
|
|
31
21
|
//# sourceMappingURL=useThemeState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useThemeState.d.ts","sourceRoot":"","sources":["../../src/hooks/useThemeState.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,gBAAgB,EACtB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"useThemeState.d.ts","sourceRoot":"","sources":["../../src/hooks/useThemeState.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,gBAAgB,EACtB,MAAM,OAAO,CAAA;AAGd,OAAO,KAAK,EAGV,UAAU,EACV,sBAAsB,EACvB,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAEnE,KAAK,EAAE,GAAG,MAAM,CAAA;AAEhB,eAAO,MAAM,iBAAiB,iCAAwB,CAAA;AAYtD,eAAO,MAAM,iBAAiB,YAK7B,CAAA;AAED,eAAO,MAAM,aAAa,OAAQ,EAAE,2BAAmB,CAAA;AAKvD,eAAO,MAAM,mBAAmB,OAAQ,EAAE,iCAA8B,CAAA;AACxE,eAAO,MAAM,sBAAsB,OAAQ,EAAE,uBAAiC,CAAA;AAE9E,eAAO,MAAM,0BAA0B;IACrC,MAAM;IACN,OAAO;CACP,CAAA;AAsBF,eAAO,MAAM,iBAAiB,yBAAuB,CAAA;AAMrD,eAAO,MAAM,aAAa,UACjB,sBAAsB,qCAEvB,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,eAC7B,gBAAgB,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,kEAGhD,UAsIF,CAAA;AAkQD,wBAAgB,eAAe,CAC7B,UAAU,oBAAK,EACf,KAAK,EAAE,sBAAsB,EAC7B,WAAW,UAAQ,GAClB,MAAM,GAAG,IAAI,CAuBf;AAED,eAAO,MAAM,qBAAqB,cAA4B,CAAA;AAE9D,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC3B,WAAW,UAAQ,GAClB,MAAM,GAAG,IAAI,CA0Bf;AAKD,eAAO,MAAM,qBAAqB,UAAW,sBAAsB,YACM,CAAA"}
|
package/types/index.d.ts
CHANGED
|
@@ -5,11 +5,10 @@ export { _withStableStyle } from './_withStableStyle';
|
|
|
5
5
|
export { _withNativeStyle } from './_withNativeStyle';
|
|
6
6
|
export { createComponent } from './createComponent';
|
|
7
7
|
export { createStyledContext } from './helpers/createStyledContext';
|
|
8
|
-
export { getDefaultProps } from './helpers/getDefaultProps';
|
|
9
8
|
export { getCSSStylesAtomic } from './helpers/getCSSStylesAtomic';
|
|
10
9
|
export { getExpandedShorthand } from './helpers/getExpandedShorthands';
|
|
11
10
|
export { formatDiagnostic } from './helpers/formatDiagnostic';
|
|
12
|
-
export { getSplitStyles, isValidStyleKey,
|
|
11
|
+
export { getStyleStaticConfig, getSplitStyles, isValidStyleKey, } from './helpers/getSplitStyles';
|
|
13
12
|
export { setNativeStyleEngine, getNativeStyleEngine, setNativeStyleEngineFlushListener, updateNativeStyleScope, removeNativeStyleScope, type NativeStyleEngine, type NativeStyleEngineSlots, type NativeViewStateUpdate, } from './helpers/nativeStyleEngine';
|
|
14
13
|
export { autoVariables, getAutoVariableCSS, getMutatedAutoVariableCSS, mutatedAutoVariables, } from './helpers/registerCSSVariable';
|
|
15
14
|
export { insertStyleRules } from './helpers/insertStyleRule';
|
|
@@ -18,10 +17,10 @@ export { isTamaguiElement } from './helpers/isTamaguiElement';
|
|
|
18
17
|
export { matchMedia, setupMatchMedia } from './helpers/matchMedia';
|
|
19
18
|
export { mergeProps } from './helpers/mergeProps';
|
|
20
19
|
export { mergeSlotStyleProps } from './helpers/mergeSlotStyleProps';
|
|
20
|
+
export { splitStyleProps, type SplitStylePropsFilter, type SplitStylePropsFilterCallback, type SplitStylePropsOptions, type SplitStylePropsResult, } from './helpers/splitStyleProps';
|
|
21
21
|
export { normalizeColor } from './helpers/normalizeColor';
|
|
22
22
|
export { normalizeStyle } from './helpers/normalizeStyle';
|
|
23
23
|
export { containsThemeRef, themeRefKey } from './helpers/themeRef';
|
|
24
|
-
export { themeable } from './helpers/themeable';
|
|
25
24
|
export { getStyleTags } from './helpers/wrapStyleTags';
|
|
26
25
|
export { createFont } from './createFont';
|
|
27
26
|
export { createChangeEventDetails, type TamaguiChangeEventDetails, type TamaguiEventDetails, } from './eventDetails';
|
|
@@ -29,14 +28,16 @@ export { createStyledHOC } from './createStyledHOC';
|
|
|
29
28
|
export { createShorthands } from './createShorthands';
|
|
30
29
|
export { createTamagui, installTamaguiConfig } from './createTamagui';
|
|
31
30
|
export { createTokens } from './createTokens';
|
|
32
|
-
export { createVariable, createCSSVariable, getVariable,
|
|
31
|
+
export { createVariable, createCSSVariable, getVariable, getVariableValue, isVariable, px, variableToString, } from './createVariable';
|
|
33
32
|
export { insertFont, updateFont } from './insertFont';
|
|
34
33
|
export { styled } from './styled';
|
|
34
|
+
export { style } from './style';
|
|
35
|
+
export { useStyle } from './hooks/useStyle';
|
|
35
36
|
export { Tamagui } from './Tamagui';
|
|
36
37
|
export type { TamaguiBuildOptions } from '@tamagui/types';
|
|
37
38
|
export type { RNTextProps, RNViewProps } from './interfaces/RNExclusiveTypes';
|
|
38
|
-
export type { AllPlatforms, AnimatedNumberStrategy, AnimationDriver, AnimationDriverStub, AnimationDriverWithAnimatedNumbers, AnimationsConfig, BorderValue, BoxShadowValue, Color, ColorScheme, ColorTokens, CreateTamaguiConfig, CreateTamaguiProps, DebugProp, DisposeFn, FillInFont, FilterValue, FlatStyleValue, Font, FontColorTokens, FontFamilyTokens, FontLanguages, FontLetterSpacingTokens, FontLineHeightTokens, FontSize, FontSizeTokens, FontStyleTokens, FontTokens, FontTransformTokens, FontWeightTokens, Fonts, GenericFont, GenericStackVariants, GenericTamaguiConfig, GenericTextVariants, GenericVariables, GestureReponderEvent, GetAnimationKeys, GetBaseStyles, GetFinalProps, GetProps, GetStyleResult, GetThemeValueForKey, GetVariantProps, GroupNames, InferTamaguiConfig, InferStyleProps, Insets, LayoutEvent, LoadedComponents, Longhands, MatchMedia, Media, MediaQueries, MediaQueryKey, MediaQueryList, MediaQueryState, MediaStyleObject, Narrow, OnTransition, OutlineValue, PresenceContextProps, PresenceRegistration, PxValue, Radius, RadiusTokens, ReservedThemePropName, ResolveVariableAs, Role, Shorthands, Size, SizeKeys, SizeTokens,
|
|
39
|
-
export {
|
|
39
|
+
export type { AllPlatforms, AnimatedNumberStrategy, AnimationDriver, AnimationDriverStub, AnimationDriverWithAnimatedNumbers, AnimationsConfig, BorderValue, BoxShadowValue, Color, ColorScheme, ColorTokens, CreateTamaguiConfig, CreateTamaguiProps, DebugProp, DisposeFn, FillInFont, FilterValue, FlatStyleValue, Font, FontColorTokens, FontFamilyTokens, FontLanguages, FontLetterSpacingTokens, FontLineHeightTokens, FontSize, FontSizeTokens, FontStyleTokens, FontTokens, FontTransformTokens, FontWeightTokens, Fonts, GenericFont, GenericStackVariants, GenericTamaguiConfig, GenericTextVariants, GenericVariables, GestureReponderEvent, GetAnimationKeys, GetBaseStyles, GetFinalProps, GetProps, GetStyleResult, GetThemeValueForKey, GetVariantProps, GroupNames, InferTamaguiConfig, InferStyleProps, Insets, LayoutEvent, LoadedComponents, Longhands, MatchMedia, Media, MediaQueries, MediaQueryKey, MediaQueryList, MediaQueryState, MediaStyleObject, Narrow, OnTransition, OutlineValue, PresenceContextProps, PresenceRegistration, PxValue, Radius, RadiusTokens, ReservedThemePropName, ResolveVariableAs, Role, Shorthands, Size, SizeKeys, SizeTokens, Space, SpaceTokens, SpaceValue, SplitStyleProps, StackNonStyleProps, StackStyleBase, StaticConfig, StaticComponentObject, StaticConfigPublic, StaticShapeStyle, StyleObject, StylePiece, StyleProp, StyledContext, StyledContextOptions, StyledHOCMergedProps, TamaDefer, TamaguiBaseTheme, TamaguiComponent, TamaguiComponentPropsBaseBase, TamaguiComponentState, TamaguiConfig, TamaguiCustomConfig, TamaguiElement, TamaguiElementMethods, TamaguiInternalConfig, TamaguiProjectInfo, TamaguiProviderProps, TamaguiSettings, TamaguiTextElement, TamaguiWebElement, TextNonStyleProps, TextProps, TextStyle, TextStylePropsBase, ThemeDefinition, ThemeKeys, ThemeName, ThemeParsed, ThemeProps, ThemeProviderProps, ThemeState, ThemeTokens, ThemeValueFallback, Themes, Token, TokenCategories, Tokens, TokensParsed, TransitionEvent, TransitionKeys, TransitionProp, Try, TypeOverride, UnionableNumber, UnionableString, UniversalAnimatedNumber, UseAnimatedNumber, UseAnimatedNumberReaction, UseAnimatedNumberStyle, UseAnimatedNumbersStyle, UseMediaState, UsePresenceResult, Variable, VariableVal, VariableValGeneric, VariableValIn, WidthHeight, WithFlatVariantValues, WithShorthands, WithThemeValues, ZIndex, ZIndexTokens, } from './types';
|
|
40
|
+
export { stylePieceSymbol } from './types';
|
|
40
41
|
export type { GetRef } from './interfaces/GetRef';
|
|
41
42
|
export { createRefComponent, type RefComponent, type RefProp, composeRefs, setRef, useComposedRefs, } from '@tamagui/compose-refs';
|
|
42
43
|
export { getConfig, getSetting, getStyleCompat, getThemes, getToken, getTokens, getTokenValue, loadAnimationDriver, setConfig, setupDev, updateConfig, type StyleCompat, } from './config';
|
|
@@ -46,7 +47,6 @@ export { _disableMediaTouch, _mediaListenerStats, configureMedia, mediaKeyMatch,
|
|
|
46
47
|
export { mediaObjectToString } from './helpers/mediaObjectToString';
|
|
47
48
|
export { getMedia, mediaQueryConfig, mediaState, setMediaState, } from './helpers/mediaState';
|
|
48
49
|
export { useAnimatedNumber, useAnimatedNumberReaction, useAnimatedNumberStyle, useAnimatedNumbersStyle, useAnimationDriver, } from './hooks/useAnimationDriver';
|
|
49
|
-
export { useProps, usePropsAndStyle, useStyle } from './hooks/useProps';
|
|
50
50
|
export { useTheme } from './hooks/useTheme';
|
|
51
51
|
export { usePortalThemeState } from './hooks/usePortalThemeState';
|
|
52
52
|
export { useThemeName } from './hooks/useThemeName';
|
|
@@ -62,7 +62,7 @@ export { Theme } from './views/Theme';
|
|
|
62
62
|
export { ThemeProvider } from './views/ThemeProvider';
|
|
63
63
|
export { View, viewStaticConfig, type ViewProps, type ViewStyle } from './views/View';
|
|
64
64
|
export { currentPlatform, getPlatformDriver, isAndroid, isBrowser, isChrome, isClient, isIos, isNativeDesktop, isServer, isTV, isTouchable, isWeb, isWebTouchable, setupPlatformDriver, supportsDynamicColorIOS, useIsomorphicLayoutEffect, type PlatformDriver, type PlatformDriverPseudoState, } from '@tamagui/constants';
|
|
65
|
-
export { clamp, composeEventHandlers, cssShorthandLonghands, getThemeClassNames, nonAnimatableStyleProps, nonAnimatableWebTextProps, nonAnimatableWebViewProps, reservedThemeProps, shouldRenderNativePlatform, simpleHash, StyleObjectIdentifier, StyleObjectProperty, StyleObjectPseudo, StyleObjectRules, StyleObjectValue, stylePropsAll, stylePropsText, stylePropsTextOnly, stylePropsTransform, stylePropsUnitless, stylePropsView, tokenCategories, validStyles, webOnlyStylePropsText, webOnlyStylePropsView, withStaticProperties, type EventHandler, type ExplicitNativePlatform, type NativePlatform, type NativeValue, } from '@tamagui/helpers';
|
|
65
|
+
export { clamp, composeEventHandlers, cssShorthandLonghands, getThemeClassNames, nonAnimatableStyleProps, nonAnimatableWebTextProps, nonAnimatableWebViewProps, reservedThemeProps, shouldRenderNativePlatform, simpleHash, StyleObjectIdentifier, StyleObjectProperty, StyleObjectPseudo, StyleObjectRules, StyleObjectValue, stylePropsAll, stylePropsInput, stylePropsText, stylePropsTextOnly, stylePropsTransform, stylePropsUnitless, stylePropsView, tokenCategories, validStyles, webOnlyStylePropsText, webOnlyStylePropsView, withStaticProperties, type EventHandler, type ExplicitNativePlatform, type NativePlatform, type NativeValue, } from '@tamagui/helpers';
|
|
66
66
|
export { ClientOnly, ClientOnlyContext, useClientValue, useDidFinishSSR, useIsClientOnly, } from '@tamagui/use-did-finish-ssr';
|
|
67
67
|
export { useEvent, useGet } from '@tamagui/use-event';
|
|
68
68
|
export { hooks, setupHooks } from './setupHooks';
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,OAAO,EACL,cAAc,EACd,sBAAsB,EACtB,wBAAwB,EACxB,KAAK,gBAAgB,GACtB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEtD,OAAO,EACL,cAAc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qB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EAClB,0BAA0B,EAC1B,UAAU,EACV,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,WAAW,EACX,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,WAAW,GACjB,MAAM,kBAAkB,CAAA;AACzB,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,eAAe,GAChB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal-runtime.d.ts","sourceRoot":"","sources":["../src/internal-runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"internal-runtime.d.ts","sourceRoot":"","sources":["../src/internal-runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAS9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAe/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AAC9D,mBAAmB,wBAAwB,CAAA;AAE3C,eAAO,MAAM,eAAe,EAAE,CAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,C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O,EAChB,YAAY,CAAC,EAAE,OAAO,KACnB,CAAC,GAAG,EAAE,GAAG,CAAyB,CAAA;AAKvC,eAAO,MAAM,mBAAmB,UAAW,OAAO,YAAY,MAAM,KAAG,MAAM,GAAG,IAqB/E,CAAA;AAKD,eAAO,MAAM,aAAa,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,GAAuB,CAAA;AACpE,eAAO,MAAM,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAqB,CAAA;AAC9E,eAAO,MAAM,eAAe,EAAE,iBAAiB,CAAC,GAAG,CAAuB,CAAA;AAE1E,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,aAAa,GACtB,CACD,WAAW,EAAE,GAAG,EAChB,sBAAsB,CAAC,EAAE,GAAG,EAC5B,eAAe,CAAC,EAAE,GAAG,EACrB,WAAW,CAAC,EAAE,GAAG,KACd,iBAAiB,CAErB;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,aAAa,GAAG;IAC5D,IAAI,EAAE,iBAAiB,CAAA;IACvB,IAAI,EAAE,iBAAiB,CAAA;CACxB,CAaA"}
|
|
@@ -7,5 +7,5 @@
|
|
|
7
7
|
* rewrites. Component behavior props belong to each public frontend package, so
|
|
8
8
|
* this private construction entry never reaches `./types`.
|
|
9
9
|
*/
|
|
10
|
-
export type { FrontendComponent, FrontendClassPlan, FrontendClassPlanEntry, FrontendStaticConfig, StyleFrontend, StyleFrontendConfig, } from './helpers/styleFrontend';
|
|
10
|
+
export type { FrontendComponent, FrontendClassPlan, FrontendClassPlanEntry, FrontendClassSink, FrontendStaticConfig, StyleFrontend, StyleFrontendConfig, } from './helpers/styleFrontend';
|
|
11
11
|
//# sourceMappingURL=internalRuntimeTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internalRuntimeTypes.d.ts","sourceRoot":"","sources":["../src/internalRuntimeTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,EACpB,aAAa,EACb,mBAAmB,GACpB,MAAM,yBAAyB,CAAA"}
|
|
1
|
+
{"version":3,"file":"internalRuntimeTypes.d.ts","sourceRoot":"","sources":["../src/internalRuntimeTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,YAAY,EACV,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,EACtB,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,mBAAmB,GACpB,MAAM,yBAAyB,CAAA"}
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { getConfig, getConfigMaybe, getThemes, getToken, getTokens, getTokenValue, setConfig, updateConfig } from './config';
|
|
9
9
|
import { createTamagui, installTamaguiConfig } from './createTamagui';
|
|
10
|
-
import { getSplitStyles
|
|
10
|
+
import { getSplitStyles } from './helpers/getSplitStyles';
|
|
11
11
|
import type { StaticConfig, TamaguiComponentState, TamaguiInternalConfig, ThemeParsed } from './types';
|
|
12
|
-
export { createTamagui, getConfig, getConfigMaybe, getSplitStyles, getThemes, getToken, getTokens, getTokenValue, installTamaguiConfig,
|
|
12
|
+
export { createTamagui, getConfig, getConfigMaybe, getSplitStyles, getThemes, getToken, getTokens, getTokenValue, installTamaguiConfig, setConfig, updateConfig, };
|
|
13
13
|
export type { StaticConfig, TamaguiComponentState, TamaguiInternalConfig, ThemeParsed };
|
|
14
14
|
export interface StaticResolveOptions {
|
|
15
15
|
resolveValues?: 'variable' | 'except-theme' | 'value' | 'none';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static-resolve.d.ts","sourceRoot":"","sources":["../src/static-resolve.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;
|
|
1
|
+
{"version":3,"file":"static-resolve.d.ts","sourceRoot":"","sources":["../src/static-resolve.ts"],"names":[],"mappings":"A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OAAO,EAAE,wBAAwB,EACjC,MAAM,GAAE,KAAK,GAAG,QAAgB,EAChC,gBAAgB,CAAC,EAAE,MAAM,GACxB,0BAA0B,CAuO5B;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,sBAAsB,GAC5B,wBAAwB,CAW1B;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,MAAM,GAAG,sBAAsB,GACrC,MAAM,GAAG,wBAAwB,CAOnC"}
|
package/types/style.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { StaticShapeStyle, StylePiece, TextStyle, ThemeParsed } from './types';
|
|
2
|
+
type StylePieceLayer = 'base' | 'style';
|
|
3
|
+
type StylePieceCompiler = (piece: StylePiece, layer: StylePieceLayer) => void;
|
|
4
|
+
type StylePieceResolver = (piece: StylePiece, theme: ThemeParsed, themeName: string) => TextStyle;
|
|
5
|
+
export declare function setStylePieceCompiler(compiler: StylePieceCompiler): void;
|
|
6
|
+
export declare function setStylePieceResolver(resolver: StylePieceResolver): void;
|
|
7
|
+
export declare function isStylePiece(value: unknown): value is StylePiece;
|
|
8
|
+
export declare function isStylePieceCacheable(piece: StylePiece): boolean;
|
|
9
|
+
export declare function createStylePiece(definition: StaticShapeStyle, layer?: StylePieceLayer): StylePiece;
|
|
10
|
+
/**
|
|
11
|
+
* Creates a statically-shaped style fragment. The fragment is accepted only by
|
|
12
|
+
* Tamagui's `style` prop; array order uses the style prop's normal last-wins
|
|
13
|
+
* precedence.
|
|
14
|
+
*/
|
|
15
|
+
export declare function style(definition: StaticShapeStyle): StylePiece;
|
|
16
|
+
export declare function resolveStylePieceForTheme(piece: StylePiece, theme: ThemeParsed, themeName: string): TextStyle;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../src/style.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAInF,KAAK,eAAe,GAAG,MAAM,GAAG,OAAO,CAAA;AACvC,KAAK,kBAAkB,GAAG,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,eAAe,KAAK,IAAI,CAAA;AAC7E,KAAK,kBAAkB,GAAG,CACxB,KAAK,EAAE,UAAU,EACjB,KAAK,EAAE,WAAW,EAClB,SAAS,EAAE,MAAM,KACd,SAAS,CAAA;AAOd,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,kBAAkB,QAEjE;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,kBAAkB,QAEjE;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAMhE;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,UAAU,WAEtD;AAeD,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,gBAAgB,EAC5B,KAAK,GAAE,eAAyB,GAC/B,UAAU,CAaZ;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,UAAU,EAAE,gBAAgB,GAAG,UAAU,CAW9D;AAED,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,UAAU,EACjB,KAAK,EAAE,WAAW,EAClB,SAAS,EAAE,MAAM,GAChB,SAAS,CAIX"}
|
package/types/styled.d.ts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { styledDynamic } from './helpers/styledDynamic';
|
|
2
2
|
import type { FrontendComponent, StyleFrontend } from './helpers/styleFrontend';
|
|
3
3
|
import type { GetRef } from './interfaces/GetRef';
|
|
4
|
-
import type {
|
|
5
|
-
import type { Text } from './views/Text';
|
|
6
|
-
export { createVariantResolver } from './types';
|
|
4
|
+
import type { GetBaseStyles, GetNonStyledProps, GetProps, GetStaticConfig, GetStyledVariants, InferStyledProps, StaticConfigPublic, StylableComponent, StyledContext, StyledDynamicFn, StyledDynamicProp, TamaDefer, TamaguiComponent, VariantDefinitions } from './types';
|
|
7
5
|
type AreVariantsUndefined<Variants> = Required<Variants> extends {
|
|
8
6
|
_isEmpty: 1;
|
|
9
7
|
} ? true : false;
|
|
10
8
|
type GetVariantAcceptedValues<V> = V extends object ? {
|
|
11
|
-
[Key in keyof V]?: V[Key] extends
|
|
9
|
+
[Key in keyof V]?: V[Key] extends StyledDynamicFn<infer Val, any> ? Val : V[Key] extends StyledDynamicProp<infer Val> ? Val : GetVariantAcceptedValue<keyof V[Key]>;
|
|
12
10
|
} : undefined;
|
|
13
|
-
type GetVariantAcceptedValue<Key> = Key extends 'true' | 'false' ? boolean : Key
|
|
11
|
+
type GetVariantAcceptedValue<Key> = Key extends 'true' | 'false' ? boolean : Key;
|
|
14
12
|
type NoInferLocal<T> = [T][T extends any ? 0 : never];
|
|
15
13
|
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
16
14
|
type GetStyledOptionsAcceptedProps<ParentComponent extends StylableComponent, StyledConfig extends StaticConfigPublic, Variants extends VariantDefinitions<ParentComponent, StyledConfig>, Context, ContextPropKeys extends string> = Partial<InferStyledProps<ParentComponent, StyledConfig>> & (AreVariantsUndefined<Variants> extends true ? {} : Partial<GetVariantAcceptedValues<Variants>>) & GetStyledContextProps<Context, ContextPropKeys>;
|
|
@@ -20,70 +18,36 @@ export type StyledOptions<ParentComponent extends StylableComponent, StyledConfi
|
|
|
20
18
|
defaultVariants?: NoInferLocal<GetVariantAcceptedValues<NonNullable<Variants>>>;
|
|
21
19
|
context?: Context;
|
|
22
20
|
contextProps?: readonly Extract<ContextPropKeys, keyof GetStyledContextAllProps<Context> & string>[];
|
|
23
|
-
compoundVariants?: readonly CompoundVariantDefinition<NoInferLocal<GetCompoundVariantMatchProps<ParentComponent, StyledConfig, Variants, Context, ContextPropKeys>>, Partial<InferStyleProps<ParentComponent, StyledConfig>>>[];
|
|
24
21
|
render?: string | React.ReactElement;
|
|
25
22
|
};
|
|
26
23
|
type GetStyledContextAllProps<Context> = Context extends StyledContext<infer Props> ? IsAny<Props> extends true ? {} : Partial<Props> : {};
|
|
27
24
|
type GetStyledContextDefaultKeys<Context> = Context extends StyledContext<infer Props, infer Keys> ? IsAny<Props> extends true ? never : Extract<Keys, keyof Props & string> : never;
|
|
28
25
|
type GetStyledContextProps<Context, Keys extends string = GetStyledContextDefaultKeys<Context>> = Context extends StyledContext<infer Props> ? IsAny<Props> extends true ? {} : Partial<Pick<Props, Extract<Keys, keyof Props & string>>> : {};
|
|
29
26
|
type GetStyledContextVariantProps<ParentComponent extends StylableComponent, Context, Keys extends string> = Omit<GetStyledContextProps<Context, Keys>, keyof GetProps<ParentComponent>>;
|
|
30
|
-
type GetCompoundVariantMatchProps<ParentComponent extends StylableComponent, StyledConfig extends StaticConfigPublic, Variants extends VariantDefinitions<ParentComponent, StyledConfig>, Context, ContextPropKeys extends string> = Omit<StyledMergedVariants<ParentComponent, StyledConfig, Variants>, '_isEmpty'> & GetStyledContextProps<Context, ContextPropKeys>;
|
|
31
|
-
type StyledCustomTokenProps<ParentComponent extends StylableComponent, StyledConfig extends StaticConfigPublic, ParentStylesBase extends object, Accepted = StyledConfig['accept']> = Accepted extends Record<string, any> ? {
|
|
32
|
-
[Key in keyof Accepted]?: (Key extends keyof ParentStylesBase ? ParentStylesBase[Key] : never) | (Accepted[Key] extends 'style' ? Partial<InferStyleProps<ParentComponent, StyledConfig>> : Accepted[Key] extends 'textStyle' ? Partial<InferStyleProps<typeof Text, StyledConfig>> : ThemeValueByCategory<Accepted[Key]>);
|
|
33
|
-
} : {};
|
|
34
27
|
type StyledMergedVariants<ParentComponent extends StylableComponent, StyledConfig extends StaticConfigPublic, Variants extends VariantDefinitions<ParentComponent, StyledConfig>, ParentVariants = GetStyledVariants<ParentComponent>, OurVariantProps = GetVariantAcceptedValues<Variants>> = AreVariantsUndefined<Variants> extends true ? ParentVariants : AreVariantsUndefined<ParentVariants> extends true ? Omit<OurVariantProps, '_isEmpty'> : {
|
|
35
28
|
[Key in Exclude<keyof ParentVariants | keyof OurVariantProps, '_isEmpty'>]?: (Key extends keyof ParentVariants ? ParentVariants[Key] : undefined) | (Key extends keyof OurVariantProps ? OurVariantProps[Key] : undefined);
|
|
36
29
|
};
|
|
37
30
|
type StyledVariantsWithContext<Variants, ContextProps> = keyof ContextProps extends never ? Variants : {
|
|
38
31
|
[Key in keyof Variants | keyof ContextProps]?: (Key extends keyof Variants ? Variants[Key] : never) | (Key extends keyof ContextProps ? ContextProps[Key] : never);
|
|
39
32
|
};
|
|
40
|
-
type StyledComponentResult<ParentComponent extends StylableComponent, StyledConfig extends StaticConfigPublic, Variants extends VariantDefinitions<ParentComponent, StyledConfig>, Context extends StyledContext<any> | undefined = undefined, ContextPropKeys extends string = GetStyledContextDefaultKeys<Context>, ParentStylesBase extends object = GetBaseStyles<ParentComponent, StyledConfig>> = TamaguiComponent<TamaDefer, GetRef<ParentComponent>, GetNonStyledProps<ParentComponent>,
|
|
41
|
-
type TextLikeElements = 'a' | 'abbr' | 'b' | 'bdi' | 'bdo' | 'cite' | 'code' | 'data' | 'del' | 'dfn' | 'em' | 'i' | 'ins' | 'kbd' | 'label' | 'mark' | 'q' | 's' | 'samp' | 'small' | 'span' | 'strong' | 'sub' | 'sup' | 'time' | 'u' | 'var';
|
|
42
|
-
type ConflictingHTMLProps = 'color' | 'display' | 'height' | 'width' | 'size' | 'left' | 'right' | 'top' | 'bottom' | 'translate' | 'content';
|
|
43
|
-
type HTMLElementSpecificProps<T extends keyof HTMLElementTagNameMap> = T extends 'a' ? Omit<AnchorHTMLAttributes<HTMLAnchorElement>, ConflictingHTMLProps> : T extends 'button' ? Omit<ButtonHTMLAttributes<HTMLButtonElement>, ConflictingHTMLProps> : T extends 'input' ? Omit<InputHTMLAttributes<HTMLInputElement>, ConflictingHTMLProps> : T extends 'select' ? Omit<SelectHTMLAttributes<HTMLSelectElement>, ConflictingHTMLProps> : T extends 'textarea' ? Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, ConflictingHTMLProps> : T extends 'form' ? Omit<FormHTMLAttributes<HTMLFormElement>, ConflictingHTMLProps> : T extends 'label' ? Omit<LabelHTMLAttributes<HTMLLabelElement>, ConflictingHTMLProps> : Omit<HTMLAttributes<HTMLElement>, ConflictingHTMLProps>;
|
|
44
|
-
type HTMLElementStyleBase<T extends keyof HTMLElementTagNameMap> = T extends TextLikeElements ? TextStylePropsBase : StackStyleBase;
|
|
45
|
-
type HTMLElementStyle<T extends keyof HTMLElementTagNameMap> = T extends TextLikeElements ? TextStyle : StackStyle;
|
|
46
|
-
/**
|
|
47
|
-
* styledHtml() for HTML element tags like 'a', 'button', 'div', etc.
|
|
48
|
-
* Automatically provides element-specific props (href for anchors, type for buttons, etc.)
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* const StyledAnchor = styledHtml('a', {
|
|
52
|
-
* color: 'blue10',
|
|
53
|
-
* textDecorationLine: 'underline',
|
|
54
|
-
* })
|
|
55
|
-
* // StyledAnchor now accepts `href` prop with proper typing
|
|
56
|
-
* <StyledAnchor href="/path">Link</StyledAnchor>
|
|
57
|
-
*/
|
|
58
|
-
export declare function styledHtml<Tag extends keyof HTMLElementTagNameMap, Variants extends VariantDefinitions<any, any> | undefined = undefined>(tag: Tag, options?: Partial<HTMLElementStyle<Tag>> & {
|
|
59
|
-
displayName?: string;
|
|
60
|
-
variants?: Variants;
|
|
61
|
-
defaultVariants?: GetVariantAcceptedValues<NonNullable<Variants>>;
|
|
62
|
-
context?: StyledContext;
|
|
63
|
-
}): TamaguiComponent<TamaDefer, HTMLElementTagNameMap[Tag], TamaguiComponentPropsBase & HTMLElementSpecificProps<Tag>, HTMLElementStyleBase<Tag>, Variants extends undefined ? {} : AreVariantsUndefined<NonNullable<Variants>> extends true ? {} : GetVariantAcceptedValues<NonNullable<Variants>>, {}>;
|
|
33
|
+
type StyledComponentResult<ParentComponent extends StylableComponent, StyledConfig extends StaticConfigPublic, Variants extends VariantDefinitions<ParentComponent, StyledConfig>, Context extends StyledContext<any> | undefined = undefined, ContextPropKeys extends string = GetStyledContextDefaultKeys<Context>, ParentStylesBase extends object = GetBaseStyles<ParentComponent, StyledConfig>> = TamaguiComponent<TamaDefer, GetRef<ParentComponent>, GetNonStyledProps<ParentComponent>, ParentStylesBase, StyledVariantsWithContext<StyledMergedVariants<ParentComponent, StyledConfig, Variants>, GetStyledContextVariantProps<ParentComponent, Context, ContextPropKeys>>, GetStaticConfig<ParentComponent, StyledConfig>>;
|
|
64
34
|
/**
|
|
65
35
|
* styled() for creating Tamagui components from other components.
|
|
66
36
|
*
|
|
67
37
|
* Core's public overload is object-only. The class-string form belongs to
|
|
68
|
-
* `@tamagui/tailwind`, which reaches
|
|
38
|
+
* `@tamagui/tailwind`, which reaches the implementation through
|
|
69
39
|
* `createFrontendStyled`.
|
|
70
40
|
*/
|
|
71
|
-
declare function
|
|
41
|
+
declare function styledFn<ParentComponent extends StylableComponent, StyledConfig extends StaticConfigPublic, Variants extends VariantDefinitions<ParentComponent, StyledConfig>, Context extends StyledContext<any> | undefined = undefined, ContextPropKeys extends string = GetStyledContextDefaultKeys<Context>>(ComponentIn: ParentComponent, options?: StyledOptions<ParentComponent, StyledConfig, Variants, Context, ContextPropKeys>, config?: StyledConfig): StyledComponentResult<ParentComponent, StyledConfig, Variants, Context, ContextPropKeys>;
|
|
42
|
+
declare const styled: typeof styledFn & {
|
|
43
|
+
/** see styledDynamic: value/prop carriers usable as `variants` entries */
|
|
44
|
+
dynamic: typeof styledDynamic;
|
|
45
|
+
};
|
|
72
46
|
/**
|
|
73
47
|
* Builds a `styled()` bound to one frontend descriptor. Components it creates carry
|
|
74
48
|
* that descriptor immutably, so behavior follows import provenance instead of any
|
|
75
49
|
* global setting.
|
|
76
50
|
*/
|
|
77
51
|
export declare function createFrontendStyled(frontend: StyleFrontend): (ComponentIn: any, optionsOrBaseClassName?: any, configOrOptions?: any, maybeConfig?: any) => FrontendComponent;
|
|
78
|
-
|
|
79
|
-
displayName?: string;
|
|
80
|
-
variants?: Variants;
|
|
81
|
-
defaultVariants?: GetVariantAcceptedValues<NonNullable<Variants>>;
|
|
82
|
-
context?: StyledContext;
|
|
83
|
-
}) => TamaguiComponent<TamaDefer, HTMLElementTagNameMap[Tag], TamaguiComponentPropsBase & HTMLElementSpecificProps<Tag>, HTMLElementStyleBase<Tag>, Variants extends undefined ? {} : AreVariantsUndefined<NonNullable<Variants>> extends true ? {} : GetVariantAcceptedValues<NonNullable<Variants>>, {}>;
|
|
84
|
-
type StyledHtmlFactories = {
|
|
85
|
-
[K in keyof HTMLElementTagNameMap]: StyledHtmlFactory<K>;
|
|
86
|
-
};
|
|
87
|
-
declare const styledExport: typeof styled & StyledHtmlFactories;
|
|
88
|
-
export { styledExport as styled };
|
|
52
|
+
export { styled };
|
|
89
53
|
//# sourceMappingURL=styled.d.ts.map
|
package/types/styled.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../src/styled.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../src/styled.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAE/E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAEjD,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAEhB,kBAAkB,EAClB,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EAEhB,kBAAkB,EACnB,MAAM,SAAS,CAAA;AAEhB,KAAK,oBAAoB,CAAC,QAAQ,IAEhC,QAAQ,CAAC,QAAQ,CAAC,S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