@tamagui/core 1.0.1-beta.70 → 1.0.1-beta.73
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/Tamagui.js +4 -6
- package/dist/cjs/Tamagui.js.map +1 -1
- package/dist/cjs/ThemeManager.js +3 -5
- package/dist/cjs/ThemeManager.js.map +1 -1
- package/dist/cjs/conf.js +11 -11
- package/dist/cjs/conf.js.map +2 -2
- package/dist/cjs/constants/rnw.js +1 -2
- package/dist/cjs/constants/rnw.js.map +1 -1
- package/dist/cjs/createComponent.js +13 -18
- package/dist/cjs/createComponent.js.map +2 -2
- package/dist/cjs/createFont.js +2 -3
- package/dist/cjs/createFont.js.map +1 -1
- package/dist/cjs/createShorthands.js +0 -2
- package/dist/cjs/createShorthands.js.map +1 -1
- package/dist/cjs/createTamagui.js +4 -7
- package/dist/cjs/createTamagui.js.map +1 -1
- package/dist/cjs/createTheme.js +2 -3
- package/dist/cjs/createTheme.js.map +1 -1
- package/dist/cjs/createTokens.js +0 -2
- package/dist/cjs/createTokens.js.map +1 -1
- package/dist/cjs/createVariable.js +4 -10
- package/dist/cjs/createVariable.js.map +1 -1
- package/dist/cjs/createVariables.js +2 -3
- package/dist/cjs/createVariables.js.map +1 -1
- package/dist/cjs/helpers/areEqualSets.js +2 -3
- package/dist/cjs/helpers/areEqualSets.js.map +1 -1
- package/dist/cjs/helpers/calc.js +4 -5
- package/dist/cjs/helpers/calc.js.map +1 -1
- package/dist/cjs/helpers/createMediaStyle.js +2 -3
- package/dist/cjs/helpers/createMediaStyle.js.map +1 -1
- package/dist/cjs/helpers/createPropMapper.js +12 -15
- package/dist/cjs/helpers/createPropMapper.js.map +1 -1
- package/dist/cjs/helpers/createShallowUpdate.js +0 -2
- package/dist/cjs/helpers/createShallowUpdate.js.map +1 -1
- package/dist/cjs/helpers/createTamaguiProvider.js +2 -4
- package/dist/cjs/helpers/createTamaguiProvider.js.map +1 -1
- package/dist/cjs/helpers/extendStaticConfig.js +2 -4
- package/dist/cjs/helpers/extendStaticConfig.js.map +1 -1
- package/dist/cjs/helpers/fixNativeShadow.js +2 -3
- package/dist/cjs/helpers/fixNativeShadow.js.map +1 -1
- package/dist/cjs/helpers/fixNativeShadow.native.js +0 -2
- package/dist/cjs/helpers/fixNativeShadow.native.js.map +1 -1
- package/dist/cjs/helpers/generateAtomicStyles.js +11 -21
- package/dist/cjs/helpers/generateAtomicStyles.js.map +1 -1
- package/dist/cjs/helpers/getExpandedShorthands.js +0 -2
- package/dist/cjs/helpers/getExpandedShorthands.js.map +1 -1
- package/dist/cjs/helpers/getSize.js +4 -5
- package/dist/cjs/helpers/getSize.js.map +1 -1
- package/dist/cjs/helpers/getSplitStyles.js +11 -14
- package/dist/cjs/helpers/getSplitStyles.js.map +2 -2
- package/dist/cjs/helpers/getStackSize.js +2 -3
- package/dist/cjs/helpers/getStackSize.js.map +1 -1
- package/dist/cjs/helpers/getStylesAtomic.js +0 -3
- package/dist/cjs/helpers/getStylesAtomic.js.map +1 -1
- package/dist/cjs/helpers/getStylesAtomic.native.js +0 -2
- package/dist/cjs/helpers/getStylesAtomic.native.js.map +1 -1
- package/dist/cjs/helpers/getTextSize.js +2 -3
- package/dist/cjs/helpers/getTextSize.js.map +1 -1
- package/dist/cjs/helpers/getVariantExtras.js +0 -2
- package/dist/cjs/helpers/getVariantExtras.js.map +1 -1
- package/dist/cjs/helpers/insertStyleRule.js +3 -8
- package/dist/cjs/helpers/insertStyleRule.js.map +1 -1
- package/dist/cjs/helpers/isObj.js +1 -2
- package/dist/cjs/helpers/isObj.js.map +1 -1
- package/dist/cjs/helpers/isTamaguiComponent.js +0 -2
- package/dist/cjs/helpers/isTamaguiComponent.js.map +1 -1
- package/dist/cjs/helpers/isTamaguiElement.js +2 -3
- package/dist/cjs/helpers/isTamaguiElement.js.map +1 -1
- package/dist/cjs/helpers/matchMedia.js +2 -3
- package/dist/cjs/helpers/matchMedia.js.map +1 -1
- package/dist/cjs/helpers/matchMedia.native.js +1 -2
- package/dist/cjs/helpers/matchMedia.native.js.map +1 -1
- package/dist/cjs/helpers/mergeProps.js +2 -3
- package/dist/cjs/helpers/mergeProps.js.map +1 -1
- package/dist/cjs/helpers/mergeTransform.js +2 -3
- package/dist/cjs/helpers/mergeTransform.js.map +1 -1
- package/dist/cjs/helpers/proxyThemeVariables.js +1 -3
- package/dist/cjs/helpers/proxyThemeVariables.js.map +1 -1
- package/dist/cjs/helpers/registerCSSVariable.js +2 -3
- package/dist/cjs/helpers/registerCSSVariable.js.map +1 -1
- package/dist/cjs/helpers/themeable.js +2 -4
- package/dist/cjs/helpers/themeable.js.map +1 -1
- package/dist/cjs/helpers/validate.js +6 -7
- package/dist/cjs/helpers/validate.js.map +1 -1
- package/dist/cjs/helpers/withStaticProperties.js +2 -3
- package/dist/cjs/helpers/withStaticProperties.js.map +1 -1
- package/dist/cjs/helpers/wrapThemeManagerContext.js +0 -2
- package/dist/cjs/helpers/wrapThemeManagerContext.js.map +1 -1
- package/dist/cjs/hooks/useConstant.js +0 -2
- package/dist/cjs/hooks/useConstant.js.map +1 -1
- package/dist/cjs/hooks/useFeatures.js +7 -13
- package/dist/cjs/hooks/useFeatures.js.map +2 -2
- package/dist/cjs/hooks/useId.js +0 -3
- package/dist/cjs/hooks/useId.js.map +1 -1
- package/dist/cjs/hooks/useIsMounted.js +0 -2
- package/dist/cjs/hooks/useIsMounted.js.map +1 -1
- package/dist/cjs/hooks/useIsTouchDevice.js +2 -3
- package/dist/cjs/hooks/useIsTouchDevice.js.map +1 -1
- package/dist/cjs/hooks/useMedia.js +11 -15
- package/dist/cjs/hooks/useMedia.js.map +1 -1
- package/dist/cjs/hooks/usePressable.js +2 -3
- package/dist/cjs/hooks/usePressable.js.map +1 -1
- package/dist/cjs/hooks/useTheme.js +10 -11
- package/dist/cjs/hooks/useTheme.js.map +1 -1
- package/dist/cjs/hooks/useUnmountEffect.js +0 -2
- package/dist/cjs/hooks/useUnmountEffect.js.map +1 -1
- package/dist/cjs/insertFont.js +1 -5
- package/dist/cjs/insertFont.js.map +2 -2
- package/dist/cjs/styled.js +0 -2
- package/dist/cjs/styled.js.map +1 -1
- package/dist/cjs/types.js.map +1 -1
- package/dist/cjs/views/Slot.js +2 -5
- package/dist/cjs/views/Slot.js.map +1 -1
- package/dist/cjs/views/Text.js +2 -1
- package/dist/cjs/views/Text.js.map +2 -2
- package/dist/cjs/views/TextAncestorContext.js +2 -3
- package/dist/cjs/views/TextAncestorContext.js.map +1 -1
- package/dist/cjs/views/Theme.js +2 -3
- package/dist/cjs/views/Theme.js.map +1 -1
- package/dist/cjs/views/ThemeInverse.js +2 -4
- package/dist/cjs/views/ThemeInverse.js.map +1 -1
- package/dist/cjs/views/ThemeProvider.js +2 -3
- package/dist/cjs/views/ThemeProvider.js.map +1 -1
- package/dist/cjs/views/ThemeReset.js +2 -3
- package/dist/cjs/views/ThemeReset.js.map +1 -1
- package/dist/esm/Tamagui.js +4 -7
- package/dist/esm/Tamagui.js.map +1 -1
- package/dist/esm/ThemeManager.js +3 -6
- package/dist/esm/ThemeManager.js.map +1 -1
- package/dist/esm/conf.js +11 -12
- package/dist/esm/conf.js.map +2 -2
- package/dist/esm/constants/rnw.js +1 -3
- package/dist/esm/constants/rnw.js.map +1 -1
- package/dist/esm/createComponent.js +13 -19
- package/dist/esm/createComponent.js.map +2 -2
- package/dist/esm/createFont.js +2 -4
- package/dist/esm/createFont.js.map +1 -1
- package/dist/esm/createShorthands.js +0 -3
- package/dist/esm/createShorthands.js.map +1 -1
- package/dist/esm/createTamagui.js +4 -8
- package/dist/esm/createTamagui.js.map +1 -1
- package/dist/esm/createTheme.js +2 -4
- package/dist/esm/createTheme.js.map +1 -1
- package/dist/esm/createTokens.js +0 -3
- package/dist/esm/createTokens.js.map +1 -1
- package/dist/esm/createVariable.js +4 -11
- package/dist/esm/createVariable.js.map +1 -1
- package/dist/esm/createVariables.js +2 -4
- package/dist/esm/createVariables.js.map +1 -1
- package/dist/esm/helpers/areEqualSets.js +2 -4
- package/dist/esm/helpers/areEqualSets.js.map +1 -1
- package/dist/esm/helpers/calc.js +4 -6
- package/dist/esm/helpers/calc.js.map +1 -1
- package/dist/esm/helpers/createMediaStyle.js +2 -4
- package/dist/esm/helpers/createMediaStyle.js.map +1 -1
- package/dist/esm/helpers/createPropMapper.js +12 -16
- package/dist/esm/helpers/createPropMapper.js.map +1 -1
- package/dist/esm/helpers/createShallowUpdate.js +0 -3
- package/dist/esm/helpers/createShallowUpdate.js.map +1 -1
- package/dist/esm/helpers/createTamaguiProvider.js +2 -5
- package/dist/esm/helpers/createTamaguiProvider.js.map +1 -1
- package/dist/esm/helpers/extendStaticConfig.js +2 -5
- package/dist/esm/helpers/extendStaticConfig.js.map +1 -1
- package/dist/esm/helpers/fixNativeShadow.js +2 -4
- package/dist/esm/helpers/fixNativeShadow.js.map +1 -1
- package/dist/esm/helpers/fixNativeShadow.native.js +0 -3
- package/dist/esm/helpers/fixNativeShadow.native.js.map +1 -1
- package/dist/esm/helpers/generateAtomicStyles.js +11 -22
- package/dist/esm/helpers/generateAtomicStyles.js.map +1 -1
- package/dist/esm/helpers/getExpandedShorthands.js +0 -3
- package/dist/esm/helpers/getExpandedShorthands.js.map +1 -1
- package/dist/esm/helpers/getSize.js +4 -6
- package/dist/esm/helpers/getSize.js.map +1 -1
- package/dist/esm/helpers/getSplitStyles.js +11 -15
- package/dist/esm/helpers/getSplitStyles.js.map +2 -2
- package/dist/esm/helpers/getStackSize.js +2 -4
- package/dist/esm/helpers/getStackSize.js.map +1 -1
- package/dist/esm/helpers/getStylesAtomic.js +0 -4
- package/dist/esm/helpers/getStylesAtomic.js.map +1 -1
- package/dist/esm/helpers/getStylesAtomic.native.js +0 -3
- package/dist/esm/helpers/getStylesAtomic.native.js.map +1 -1
- package/dist/esm/helpers/getTextSize.js +2 -4
- package/dist/esm/helpers/getTextSize.js.map +1 -1
- package/dist/esm/helpers/getVariantExtras.js +0 -3
- package/dist/esm/helpers/getVariantExtras.js.map +1 -1
- package/dist/esm/helpers/insertStyleRule.js +3 -9
- package/dist/esm/helpers/insertStyleRule.js.map +1 -1
- package/dist/esm/helpers/isObj.js +1 -3
- package/dist/esm/helpers/isObj.js.map +1 -1
- package/dist/esm/helpers/isTamaguiComponent.js +0 -3
- package/dist/esm/helpers/isTamaguiComponent.js.map +1 -1
- package/dist/esm/helpers/isTamaguiElement.js +2 -4
- package/dist/esm/helpers/isTamaguiElement.js.map +1 -1
- package/dist/esm/helpers/matchMedia.js +2 -4
- package/dist/esm/helpers/matchMedia.js.map +1 -1
- package/dist/esm/helpers/matchMedia.native.js +1 -3
- package/dist/esm/helpers/matchMedia.native.js.map +1 -1
- package/dist/esm/helpers/mergeProps.js +2 -4
- package/dist/esm/helpers/mergeProps.js.map +1 -1
- package/dist/esm/helpers/mergeTransform.js +2 -4
- package/dist/esm/helpers/mergeTransform.js.map +1 -1
- package/dist/esm/helpers/proxyThemeVariables.js +1 -4
- package/dist/esm/helpers/proxyThemeVariables.js.map +1 -1
- package/dist/esm/helpers/registerCSSVariable.js +2 -4
- package/dist/esm/helpers/registerCSSVariable.js.map +1 -1
- package/dist/esm/helpers/themeable.js +2 -5
- package/dist/esm/helpers/themeable.js.map +1 -1
- package/dist/esm/helpers/validate.js +6 -8
- package/dist/esm/helpers/validate.js.map +1 -1
- package/dist/esm/helpers/withStaticProperties.js +2 -4
- package/dist/esm/helpers/withStaticProperties.js.map +1 -1
- package/dist/esm/helpers/wrapThemeManagerContext.js +0 -3
- package/dist/esm/helpers/wrapThemeManagerContext.js.map +1 -1
- package/dist/esm/hooks/useConstant.js +0 -3
- package/dist/esm/hooks/useConstant.js.map +1 -1
- package/dist/esm/hooks/useFeatures.js +7 -14
- package/dist/esm/hooks/useFeatures.js.map +2 -2
- package/dist/esm/hooks/useId.js +0 -4
- package/dist/esm/hooks/useId.js.map +1 -1
- package/dist/esm/hooks/useIsMounted.js +0 -3
- package/dist/esm/hooks/useIsMounted.js.map +1 -1
- package/dist/esm/hooks/useIsTouchDevice.js +2 -4
- package/dist/esm/hooks/useIsTouchDevice.js.map +1 -1
- package/dist/esm/hooks/useMedia.js +11 -16
- package/dist/esm/hooks/useMedia.js.map +1 -1
- package/dist/esm/hooks/usePressable.js +2 -4
- package/dist/esm/hooks/usePressable.js.map +1 -1
- package/dist/esm/hooks/useTheme.js +10 -12
- package/dist/esm/hooks/useTheme.js.map +1 -1
- package/dist/esm/hooks/useUnmountEffect.js +0 -3
- package/dist/esm/hooks/useUnmountEffect.js.map +1 -1
- package/dist/esm/insertFont.js +1 -6
- package/dist/esm/insertFont.js.map +2 -2
- package/dist/esm/styled.js +0 -3
- package/dist/esm/styled.js.map +1 -1
- package/dist/esm/views/Slot.js +2 -6
- package/dist/esm/views/Slot.js.map +1 -1
- package/dist/esm/views/Text.js +2 -1
- package/dist/esm/views/Text.js.map +2 -2
- package/dist/esm/views/TextAncestorContext.js +2 -4
- package/dist/esm/views/TextAncestorContext.js.map +1 -1
- package/dist/esm/views/Theme.js +2 -4
- package/dist/esm/views/Theme.js.map +1 -1
- package/dist/esm/views/ThemeInverse.js +2 -5
- package/dist/esm/views/ThemeInverse.js.map +1 -1
- package/dist/esm/views/ThemeProvider.js +2 -4
- package/dist/esm/views/ThemeProvider.js.map +1 -1
- package/dist/esm/views/ThemeReset.js +2 -4
- package/dist/esm/views/ThemeReset.js.map +1 -1
- package/dist/jsx/Tamagui.js +4 -7
- package/dist/jsx/ThemeManager.js +3 -6
- package/dist/jsx/conf.js +11 -12
- package/dist/jsx/constants/rnw.js +1 -3
- package/dist/jsx/createComponent.js +13 -19
- package/dist/jsx/createFont.js +2 -4
- package/dist/jsx/createShorthands.js +0 -3
- package/dist/jsx/createTamagui.js +4 -8
- package/dist/jsx/createTheme.js +2 -4
- package/dist/jsx/createTokens.js +0 -3
- package/dist/jsx/createVariable.js +4 -11
- package/dist/jsx/createVariables.js +2 -4
- package/dist/jsx/helpers/areEqualSets.js +2 -4
- package/dist/jsx/helpers/calc.js +4 -6
- package/dist/jsx/helpers/createMediaStyle.js +2 -4
- package/dist/jsx/helpers/createPropMapper.js +12 -16
- package/dist/jsx/helpers/createShallowUpdate.js +0 -3
- package/dist/jsx/helpers/createTamaguiProvider.js +2 -5
- package/dist/jsx/helpers/extendStaticConfig.js +2 -5
- package/dist/jsx/helpers/fixNativeShadow.js +2 -4
- package/dist/jsx/helpers/fixNativeShadow.native.js +0 -3
- package/dist/jsx/helpers/generateAtomicStyles.js +11 -22
- package/dist/jsx/helpers/getExpandedShorthands.js +0 -3
- package/dist/jsx/helpers/getSize.js +4 -6
- package/dist/jsx/helpers/getSplitStyles.js +11 -15
- package/dist/jsx/helpers/getStackSize.js +2 -4
- package/dist/jsx/helpers/getStylesAtomic.js +0 -4
- package/dist/jsx/helpers/getStylesAtomic.native.js +0 -3
- package/dist/jsx/helpers/getTextSize.js +2 -4
- package/dist/jsx/helpers/getVariantExtras.js +0 -3
- package/dist/jsx/helpers/insertStyleRule.js +3 -9
- package/dist/jsx/helpers/isObj.js +1 -3
- package/dist/jsx/helpers/isTamaguiComponent.js +0 -3
- package/dist/jsx/helpers/isTamaguiElement.js +2 -4
- package/dist/jsx/helpers/matchMedia.js +2 -4
- package/dist/jsx/helpers/matchMedia.native.js +1 -3
- package/dist/jsx/helpers/mergeProps.js +2 -4
- package/dist/jsx/helpers/mergeTransform.js +2 -4
- package/dist/jsx/helpers/proxyThemeVariables.js +1 -4
- package/dist/jsx/helpers/registerCSSVariable.js +2 -4
- package/dist/jsx/helpers/themeable.js +2 -5
- package/dist/jsx/helpers/validate.js +6 -8
- package/dist/jsx/helpers/withStaticProperties.js +2 -4
- package/dist/jsx/helpers/wrapThemeManagerContext.js +0 -3
- package/dist/jsx/hooks/useConstant.js +0 -3
- package/dist/jsx/hooks/useFeatures.js +7 -14
- package/dist/jsx/hooks/useId.js +0 -4
- package/dist/jsx/hooks/useIsMounted.js +0 -3
- package/dist/jsx/hooks/useIsTouchDevice.js +2 -4
- package/dist/jsx/hooks/useMedia.js +11 -16
- package/dist/jsx/hooks/usePressable.js +2 -4
- package/dist/jsx/hooks/useTheme.js +10 -12
- package/dist/jsx/hooks/useUnmountEffect.js +0 -3
- package/dist/jsx/insertFont.js +1 -6
- package/dist/jsx/styled.js +0 -3
- package/dist/jsx/views/Slot.js +2 -6
- package/dist/jsx/views/Text.js +2 -1
- package/dist/jsx/views/TextAncestorContext.js +2 -4
- package/dist/jsx/views/Theme.js +2 -4
- package/dist/jsx/views/ThemeInverse.js +2 -5
- package/dist/jsx/views/ThemeProvider.js +2 -4
- package/dist/jsx/views/ThemeReset.js +2 -4
- package/package.json +6 -6
- package/reset.css +0 -1
- package/types/Pressability.d.ts +0 -0
- package/types/Pressability.d.ts.map +0 -0
- package/types/Pressability.native.d.ts +0 -0
- package/types/Pressability.native.d.ts.map +0 -0
- package/types/Tamagui.d.ts +0 -0
- package/types/Tamagui.d.ts.map +0 -0
- package/types/ThemeContext.d.ts +0 -0
- package/types/ThemeContext.d.ts.map +0 -0
- package/types/ThemeManager.d.ts +0 -0
- package/types/ThemeManager.d.ts.map +0 -0
- package/types/conf.d.ts +1 -1
- package/types/conf.d.ts.map +1 -1
- package/types/constants/constants.d.ts +0 -0
- package/types/constants/constants.d.ts.map +0 -0
- package/types/constants/platform.d.ts +0 -0
- package/types/constants/platform.d.ts.map +0 -0
- package/types/constants/rnw.d.ts +0 -0
- package/types/constants/rnw.d.ts.map +0 -0
- package/types/contexts/ButtonInsideButtonContext.d.ts +0 -0
- package/types/contexts/ButtonInsideButtonContext.d.ts.map +0 -0
- package/types/createComponent.d.ts +0 -0
- package/types/createComponent.d.ts.map +1 -1
- package/types/createFont.d.ts +0 -0
- package/types/createFont.d.ts.map +0 -0
- package/types/createShorthands.d.ts +0 -0
- package/types/createShorthands.d.ts.map +0 -0
- package/types/createTamagui.d.ts +0 -0
- package/types/createTamagui.d.ts.map +0 -0
- package/types/createTheme.d.ts +0 -0
- package/types/createTheme.d.ts.map +0 -0
- package/types/createTokens.d.ts +0 -0
- package/types/createTokens.d.ts.map +0 -0
- package/types/createVariable.d.ts +0 -0
- package/types/createVariable.d.ts.map +0 -0
- package/types/createVariables.d.ts +0 -0
- package/types/createVariables.d.ts.map +0 -0
- package/types/defaultComponentState.d.ts +0 -0
- package/types/defaultComponentState.d.ts.map +0 -0
- package/types/helpers/RNComponents.d.ts +0 -0
- package/types/helpers/RNComponents.d.ts.map +0 -0
- package/types/helpers/areEqualSets.d.ts +0 -0
- package/types/helpers/areEqualSets.d.ts.map +0 -0
- package/types/helpers/calc.d.ts +0 -0
- package/types/helpers/calc.d.ts.map +0 -0
- package/types/helpers/createMediaStyle.d.ts +0 -0
- package/types/helpers/createMediaStyle.d.ts.map +0 -0
- package/types/helpers/createPropMapper.d.ts +0 -0
- package/types/helpers/createPropMapper.d.ts.map +0 -0
- package/types/helpers/createShallowUpdate.d.ts +0 -0
- package/types/helpers/createShallowUpdate.d.ts.map +0 -0
- package/types/helpers/createTamaguiProvider.d.ts +0 -0
- package/types/helpers/createTamaguiProvider.d.ts.map +0 -0
- package/types/helpers/extendStaticConfig.d.ts +0 -0
- package/types/helpers/extendStaticConfig.d.ts.map +0 -0
- package/types/helpers/fixNativeShadow.d.ts +0 -0
- package/types/helpers/fixNativeShadow.d.ts.map +0 -0
- package/types/helpers/fixNativeShadow.native.d.ts +0 -0
- package/types/helpers/fixNativeShadow.native.d.ts.map +0 -0
- package/types/helpers/generateAtomicStyles.d.ts +0 -0
- package/types/helpers/generateAtomicStyles.d.ts.map +0 -0
- package/types/helpers/getExpandedShorthands.d.ts +0 -0
- package/types/helpers/getExpandedShorthands.d.ts.map +0 -0
- package/types/helpers/getSize.d.ts +0 -0
- package/types/helpers/getSize.d.ts.map +0 -0
- package/types/helpers/getSplitStyles.d.ts +0 -0
- package/types/helpers/getSplitStyles.d.ts.map +1 -1
- package/types/helpers/getStackSize.d.ts +0 -0
- package/types/helpers/getStackSize.d.ts.map +0 -0
- package/types/helpers/getStylesAtomic.d.ts +0 -0
- package/types/helpers/getStylesAtomic.d.ts.map +0 -0
- package/types/helpers/getStylesAtomic.native.d.ts +0 -0
- package/types/helpers/getStylesAtomic.native.d.ts.map +0 -0
- package/types/helpers/getTextSize.d.ts +0 -0
- package/types/helpers/getTextSize.d.ts.map +0 -0
- package/types/helpers/getVariantExtras.d.ts +0 -0
- package/types/helpers/getVariantExtras.d.ts.map +0 -0
- package/types/helpers/insertStyleRule.d.ts +0 -0
- package/types/helpers/insertStyleRule.d.ts.map +0 -0
- package/types/helpers/isObj.d.ts +0 -0
- package/types/helpers/isObj.d.ts.map +0 -0
- package/types/helpers/isTamaguiComponent.d.ts +0 -0
- package/types/helpers/isTamaguiComponent.d.ts.map +0 -0
- package/types/helpers/isTamaguiElement.d.ts +0 -0
- package/types/helpers/isTamaguiElement.d.ts.map +0 -0
- package/types/helpers/matchMedia.d.ts +0 -0
- package/types/helpers/matchMedia.d.ts.map +0 -0
- package/types/helpers/matchMedia.native.d.ts +0 -0
- package/types/helpers/matchMedia.native.d.ts.map +0 -0
- package/types/helpers/mergeProps.d.ts +0 -0
- package/types/helpers/mergeProps.d.ts.map +0 -0
- package/types/helpers/mergeTransform.d.ts +0 -0
- package/types/helpers/mergeTransform.d.ts.map +0 -0
- package/types/helpers/nativeGestureHandler.native.d.ts +0 -0
- package/types/helpers/nativeGestureHandler.native.d.ts.map +0 -0
- package/types/helpers/proxyThemeVariables.d.ts +0 -0
- package/types/helpers/proxyThemeVariables.d.ts.map +0 -0
- package/types/helpers/pseudos.d.ts +0 -0
- package/types/helpers/pseudos.d.ts.map +0 -0
- package/types/helpers/registerCSSVariable.d.ts +0 -0
- package/types/helpers/registerCSSVariable.d.ts.map +0 -0
- package/types/helpers/themeable.d.ts +0 -0
- package/types/helpers/themeable.d.ts.map +0 -0
- package/types/helpers/validate.d.ts +0 -0
- package/types/helpers/validate.d.ts.map +0 -0
- package/types/helpers/withStaticProperties.d.ts +0 -0
- package/types/helpers/withStaticProperties.d.ts.map +0 -0
- package/types/helpers/wrapThemeManagerContext.d.ts +0 -0
- package/types/helpers/wrapThemeManagerContext.d.ts.map +0 -0
- package/types/hooks/useConstant.d.ts +0 -0
- package/types/hooks/useConstant.d.ts.map +0 -0
- package/types/hooks/useFeatures.d.ts +0 -0
- package/types/hooks/useFeatures.d.ts.map +0 -0
- package/types/hooks/useId.d.ts +0 -0
- package/types/hooks/useId.d.ts.map +0 -0
- package/types/hooks/useIsMounted.d.ts +0 -0
- package/types/hooks/useIsMounted.d.ts.map +0 -0
- package/types/hooks/useIsTouchDevice.d.ts +0 -0
- package/types/hooks/useIsTouchDevice.d.ts.map +0 -0
- package/types/hooks/useMedia.d.ts +0 -0
- package/types/hooks/useMedia.d.ts.map +0 -0
- package/types/hooks/usePressable.d.ts +0 -0
- package/types/hooks/usePressable.d.ts.map +0 -0
- package/types/hooks/usePrevious.d.ts +0 -0
- package/types/hooks/usePrevious.d.ts.map +0 -0
- package/types/hooks/useTheme.d.ts +0 -0
- package/types/hooks/useTheme.d.ts.map +0 -0
- package/types/hooks/useUnmountEffect.d.ts +0 -0
- package/types/hooks/useUnmountEffect.d.ts.map +0 -0
- package/types/index.d.ts +0 -0
- package/types/index.d.ts.map +0 -0
- package/types/insertFont.d.ts +0 -0
- package/types/insertFont.d.ts.map +0 -0
- package/types/static.d.ts +0 -0
- package/types/static.d.ts.map +0 -0
- package/types/styled.d.ts +0 -0
- package/types/styled.d.ts.map +0 -0
- package/types/types-rnw.d.ts +0 -0
- package/types/types-rnw.d.ts.map +0 -0
- package/types/types.d.ts +1 -0
- package/types/types.d.ts.map +1 -1
- package/types/views/Slot.d.ts +0 -0
- package/types/views/Slot.d.ts.map +0 -0
- package/types/views/Stack.d.ts +0 -0
- package/types/views/Stack.d.ts.map +0 -0
- package/types/views/Text.d.ts +0 -0
- package/types/views/Text.d.ts.map +1 -1
- package/types/views/TextAncestorContext.d.ts +0 -0
- package/types/views/TextAncestorContext.d.ts.map +0 -0
- package/types/views/Theme.d.ts +0 -0
- package/types/views/Theme.d.ts.map +0 -0
- package/types/views/ThemeInverse.d.ts +0 -0
- package/types/views/ThemeInverse.d.ts.map +0 -0
- package/types/views/ThemeProvider.d.ts +0 -0
- package/types/views/ThemeProvider.d.ts.map +0 -0
- package/types/views/ThemeReset.d.ts +0 -0
- package/types/views/ThemeReset.d.ts.map +0 -0
- package/dist/cjs/helpers/nativeGestureHandler.js +0 -29
- package/dist/cjs/helpers/nativeGestureHandler.js.map +0 -7
- package/dist/cjs/helpers/prefixStyles.js +0 -192
- package/dist/cjs/helpers/prefixStyles.js.map +0 -7
- package/dist/cjs/nativeGestureHandler.native.js +0 -18
- package/dist/cjs/nativeGestureHandler.native.js.map +0 -7
- package/dist/cjs/registerCSSVariable.js +0 -41
- package/dist/cjs/registerCSSVariable.js.map +0 -7
- package/dist/esm/helpers/nativeGestureHandler.js +0 -7
- package/dist/esm/helpers/nativeGestureHandler.js.map +0 -7
- package/dist/esm/helpers/prefixStyles.js +0 -166
- package/dist/esm/helpers/prefixStyles.js.map +0 -7
- package/dist/esm/nativeGestureHandler.native.js +0 -2
- package/dist/esm/nativeGestureHandler.native.js.map +0 -7
- package/dist/esm/registerCSSVariable.js +0 -17
- package/dist/esm/registerCSSVariable.js.map +0 -7
- package/dist/jsx/helpers/nativeGestureHandler.js +0 -6
- package/dist/jsx/helpers/prefixStyles.js +0 -165
- package/dist/jsx/nativeGestureHandler.native.js +0 -1
- package/dist/jsx/registerCSSVariable.js +0 -16
- package/types/helpers/prefixStyles.d.ts +0 -5
- package/types/helpers/prefixStyles.d.ts.map +0 -1
- package/types/registerCSSVariable.d.ts +0 -5
- package/types/registerCSSVariable.d.ts.map +0 -1
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import createPrefixer from "inline-style-prefixer/lib/createPrefixer";
|
|
4
|
-
import backgroundClip from "inline-style-prefixer/lib/plugins/backgroundClip";
|
|
5
|
-
import crossFade from "inline-style-prefixer/lib/plugins/crossFade";
|
|
6
|
-
import cursor from "inline-style-prefixer/lib/plugins/cursor";
|
|
7
|
-
import filter from "inline-style-prefixer/lib/plugins/filter";
|
|
8
|
-
import flex from "inline-style-prefixer/lib/plugins/flex";
|
|
9
|
-
import flexboxIE from "inline-style-prefixer/lib/plugins/flexboxIE";
|
|
10
|
-
import flexboxOld from "inline-style-prefixer/lib/plugins/flexboxOld";
|
|
11
|
-
import gradient from "inline-style-prefixer/lib/plugins/gradient";
|
|
12
|
-
import grid from "inline-style-prefixer/lib/plugins/grid";
|
|
13
|
-
import imageSet from "inline-style-prefixer/lib/plugins/imageSet";
|
|
14
|
-
import logical from "inline-style-prefixer/lib/plugins/logical";
|
|
15
|
-
import position from "inline-style-prefixer/lib/plugins/position";
|
|
16
|
-
import sizing from "inline-style-prefixer/lib/plugins/sizing";
|
|
17
|
-
import transition from "inline-style-prefixer/lib/plugins/transition";
|
|
18
|
-
const prefixInlineStyles = /* @__PURE__ */ __name((style) => {
|
|
19
|
-
const prefixedStyles = prefixStyles(style);
|
|
20
|
-
Object.keys(prefixedStyles).forEach((prop) => {
|
|
21
|
-
const value = prefixedStyles[prop];
|
|
22
|
-
if (Array.isArray(value)) {
|
|
23
|
-
prefixedStyles[prop] = value[value.length - 1];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
return prefixedStyles;
|
|
27
|
-
}, "prefixInlineStyles");
|
|
28
|
-
const w = ["Webkit"];
|
|
29
|
-
const m = ["Moz"];
|
|
30
|
-
const ms = ["ms"];
|
|
31
|
-
const wm = ["Webkit", "Moz"];
|
|
32
|
-
const wms = ["Webkit", "ms"];
|
|
33
|
-
const wmms = ["Webkit", "Moz", "ms"];
|
|
34
|
-
const staticData = {
|
|
35
|
-
plugins: [
|
|
36
|
-
backgroundClip,
|
|
37
|
-
crossFade,
|
|
38
|
-
cursor,
|
|
39
|
-
filter,
|
|
40
|
-
flex,
|
|
41
|
-
flexboxIE,
|
|
42
|
-
flexboxOld,
|
|
43
|
-
gradient,
|
|
44
|
-
grid,
|
|
45
|
-
imageSet,
|
|
46
|
-
logical,
|
|
47
|
-
position,
|
|
48
|
-
sizing,
|
|
49
|
-
transition
|
|
50
|
-
],
|
|
51
|
-
prefixMap: {
|
|
52
|
-
animation: w,
|
|
53
|
-
animationDelay: w,
|
|
54
|
-
animationDirection: w,
|
|
55
|
-
animationFillMode: w,
|
|
56
|
-
animationDuration: w,
|
|
57
|
-
animationIterationCount: w,
|
|
58
|
-
animationName: w,
|
|
59
|
-
animationPlayState: w,
|
|
60
|
-
animationTimingFunction: w,
|
|
61
|
-
appearance: wm,
|
|
62
|
-
userSelect: wmms,
|
|
63
|
-
textEmphasisPosition: w,
|
|
64
|
-
textEmphasis: w,
|
|
65
|
-
textEmphasisStyle: w,
|
|
66
|
-
textEmphasisColor: w,
|
|
67
|
-
boxDecorationBreak: w,
|
|
68
|
-
clipPath: w,
|
|
69
|
-
maskImage: w,
|
|
70
|
-
maskMode: w,
|
|
71
|
-
maskRepeat: w,
|
|
72
|
-
maskPosition: w,
|
|
73
|
-
maskClip: w,
|
|
74
|
-
maskOrigin: w,
|
|
75
|
-
maskSize: w,
|
|
76
|
-
maskComposite: w,
|
|
77
|
-
mask: w,
|
|
78
|
-
maskBorderSource: w,
|
|
79
|
-
maskBorderMode: w,
|
|
80
|
-
maskBorderSlice: w,
|
|
81
|
-
maskBorderWidth: w,
|
|
82
|
-
maskBorderOutset: w,
|
|
83
|
-
maskBorderRepeat: w,
|
|
84
|
-
maskBorder: w,
|
|
85
|
-
maskType: w,
|
|
86
|
-
textDecorationStyle: w,
|
|
87
|
-
textDecorationSkip: w,
|
|
88
|
-
textDecorationLine: w,
|
|
89
|
-
textDecorationColor: w,
|
|
90
|
-
filter: w,
|
|
91
|
-
fontFeatureSettings: w,
|
|
92
|
-
breakAfter: wmms,
|
|
93
|
-
breakBefore: wmms,
|
|
94
|
-
breakInside: wmms,
|
|
95
|
-
columnCount: wm,
|
|
96
|
-
columnFill: wm,
|
|
97
|
-
columnGap: wm,
|
|
98
|
-
columnRule: wm,
|
|
99
|
-
columnRuleColor: wm,
|
|
100
|
-
columnRuleStyle: wm,
|
|
101
|
-
columnRuleWidth: wm,
|
|
102
|
-
columns: wm,
|
|
103
|
-
columnSpan: wm,
|
|
104
|
-
columnWidth: wm,
|
|
105
|
-
writingMode: wms,
|
|
106
|
-
flex: wms,
|
|
107
|
-
flexBasis: w,
|
|
108
|
-
flexDirection: wms,
|
|
109
|
-
flexGrow: w,
|
|
110
|
-
flexFlow: wms,
|
|
111
|
-
flexShrink: w,
|
|
112
|
-
flexWrap: wms,
|
|
113
|
-
alignContent: w,
|
|
114
|
-
alignItems: w,
|
|
115
|
-
alignSelf: w,
|
|
116
|
-
justifyContent: w,
|
|
117
|
-
order: w,
|
|
118
|
-
transform: w,
|
|
119
|
-
transformOrigin: w,
|
|
120
|
-
transformOriginX: w,
|
|
121
|
-
transformOriginY: w,
|
|
122
|
-
backfaceVisibility: w,
|
|
123
|
-
perspective: w,
|
|
124
|
-
perspectiveOrigin: w,
|
|
125
|
-
transformStyle: w,
|
|
126
|
-
transformOriginZ: w,
|
|
127
|
-
backdropFilter: w,
|
|
128
|
-
fontKerning: w,
|
|
129
|
-
scrollSnapType: wms,
|
|
130
|
-
scrollSnapPointsX: wms,
|
|
131
|
-
scrollSnapPointsY: wms,
|
|
132
|
-
scrollSnapDestination: wms,
|
|
133
|
-
scrollSnapCoordinate: wms,
|
|
134
|
-
shapeImageThreshold: w,
|
|
135
|
-
shapeImageMargin: w,
|
|
136
|
-
shapeImageOutside: w,
|
|
137
|
-
hyphens: wmms,
|
|
138
|
-
flowInto: wms,
|
|
139
|
-
flowFrom: wms,
|
|
140
|
-
regionFragment: wms,
|
|
141
|
-
textOrientation: w,
|
|
142
|
-
textAlignLast: m,
|
|
143
|
-
tabSize: m,
|
|
144
|
-
wrapFlow: ms,
|
|
145
|
-
wrapThrough: ms,
|
|
146
|
-
wrapMargin: ms,
|
|
147
|
-
touchAction: ms,
|
|
148
|
-
textSizeAdjust: ["ms", "Webkit"],
|
|
149
|
-
borderImage: w,
|
|
150
|
-
borderImageOutset: w,
|
|
151
|
-
borderImageRepeat: w,
|
|
152
|
-
borderImageSlice: w,
|
|
153
|
-
borderImageSource: w,
|
|
154
|
-
borderImageWidth: w,
|
|
155
|
-
transitionDelay: w,
|
|
156
|
-
transitionDuration: w,
|
|
157
|
-
transitionProperty: w,
|
|
158
|
-
transitionTimingFunction: w
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
const prefixStyles = createPrefixer(staticData);
|
|
162
|
-
export {
|
|
163
|
-
prefixInlineStyles,
|
|
164
|
-
prefixStyles
|
|
165
|
-
};
|
|
166
|
-
//# sourceMappingURL=prefixStyles.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/helpers/prefixStyles.ts"],
|
|
4
|
-
"sourcesContent": ["import createPrefixer from 'inline-style-prefixer/lib/createPrefixer'\nimport backgroundClip from 'inline-style-prefixer/lib/plugins/backgroundClip'\nimport crossFade from 'inline-style-prefixer/lib/plugins/crossFade'\nimport cursor from 'inline-style-prefixer/lib/plugins/cursor'\nimport filter from 'inline-style-prefixer/lib/plugins/filter'\nimport flex from 'inline-style-prefixer/lib/plugins/flex'\nimport flexboxIE from 'inline-style-prefixer/lib/plugins/flexboxIE'\nimport flexboxOld from 'inline-style-prefixer/lib/plugins/flexboxOld'\nimport gradient from 'inline-style-prefixer/lib/plugins/gradient'\nimport grid from 'inline-style-prefixer/lib/plugins/grid'\nimport imageSet from 'inline-style-prefixer/lib/plugins/imageSet'\nimport logical from 'inline-style-prefixer/lib/plugins/logical'\nimport position from 'inline-style-prefixer/lib/plugins/position'\nimport sizing from 'inline-style-prefixer/lib/plugins/sizing'\nimport transition from 'inline-style-prefixer/lib/plugins/transition'\n\ntype StyleModifier = (style: Object) => Object\n\nexport const prefixInlineStyles: StyleModifier = (style) => {\n const prefixedStyles = prefixStyles(style)\n\n // React@15 removed undocumented support for fallback values in\n // inline-styles. Revert array values to the standard CSS value\n Object.keys(prefixedStyles).forEach((prop) => {\n const value = prefixedStyles[prop]\n if (Array.isArray(value)) {\n prefixedStyles[prop] = value[value.length - 1]\n }\n })\n\n return prefixedStyles\n}\n\nconst w = ['Webkit']\nconst m = ['Moz']\nconst ms = ['ms']\nconst wm = ['Webkit', 'Moz']\nconst wms = ['Webkit', 'ms']\nconst wmms = ['Webkit', 'Moz', 'ms']\nconst staticData = {\n plugins: [\n backgroundClip,\n crossFade,\n cursor,\n filter,\n flex,\n flexboxIE,\n flexboxOld,\n gradient,\n grid,\n imageSet,\n logical,\n position,\n sizing,\n transition,\n ],\n prefixMap: {\n animation: w,\n animationDelay: w,\n animationDirection: w,\n animationFillMode: w,\n animationDuration: w,\n animationIterationCount: w,\n animationName: w,\n animationPlayState: w,\n animationTimingFunction: w,\n appearance: wm,\n userSelect: wmms,\n textEmphasisPosition: w,\n textEmphasis: w,\n textEmphasisStyle: w,\n textEmphasisColor: w,\n boxDecorationBreak: w,\n clipPath: w,\n maskImage: w,\n maskMode: w,\n maskRepeat: w,\n maskPosition: w,\n maskClip: w,\n maskOrigin: w,\n maskSize: w,\n maskComposite: w,\n mask: w,\n maskBorderSource: w,\n maskBorderMode: w,\n maskBorderSlice: w,\n maskBorderWidth: w,\n maskBorderOutset: w,\n maskBorderRepeat: w,\n maskBorder: w,\n maskType: w,\n textDecorationStyle: w,\n textDecorationSkip: w,\n textDecorationLine: w,\n textDecorationColor: w,\n filter: w,\n fontFeatureSettings: w,\n breakAfter: wmms,\n breakBefore: wmms,\n breakInside: wmms,\n columnCount: wm,\n columnFill: wm,\n columnGap: wm,\n columnRule: wm,\n columnRuleColor: wm,\n columnRuleStyle: wm,\n columnRuleWidth: wm,\n columns: wm,\n columnSpan: wm,\n columnWidth: wm,\n writingMode: wms,\n flex: wms,\n flexBasis: w,\n flexDirection: wms,\n flexGrow: w,\n flexFlow: wms,\n flexShrink: w,\n flexWrap: wms,\n alignContent: w,\n alignItems: w,\n alignSelf: w,\n justifyContent: w,\n order: w,\n transform: w,\n transformOrigin: w,\n transformOriginX: w,\n transformOriginY: w,\n backfaceVisibility: w,\n perspective: w,\n perspectiveOrigin: w,\n transformStyle: w,\n transformOriginZ: w,\n backdropFilter: w,\n fontKerning: w,\n scrollSnapType: wms,\n scrollSnapPointsX: wms,\n scrollSnapPointsY: wms,\n scrollSnapDestination: wms,\n scrollSnapCoordinate: wms,\n shapeImageThreshold: w,\n shapeImageMargin: w,\n shapeImageOutside: w,\n hyphens: wmms,\n flowInto: wms,\n flowFrom: wms,\n regionFragment: wms,\n textOrientation: w,\n textAlignLast: m,\n tabSize: m,\n wrapFlow: ms,\n wrapThrough: ms,\n wrapMargin: ms,\n touchAction: ms,\n textSizeAdjust: ['ms', 'Webkit'],\n borderImage: w,\n borderImageOutset: w,\n borderImageRepeat: w,\n borderImageSlice: w,\n borderImageSource: w,\n borderImageWidth: w,\n transitionDelay: w,\n transitionDuration: w,\n transitionProperty: w,\n transitionTimingFunction: w,\n },\n}\n\nexport const prefixStyles: StyleModifier = createPrefixer(staticData)\n"],
|
|
5
|
-
"mappings": ";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAIO,MAAM,qBAAoC,wBAAC,UAAU;AAC1D,QAAM,iBAAiB,aAAa,KAAK;AAIzC,SAAO,KAAK,cAAc,EAAE,QAAQ,CAAC,SAAS;AAC5C,UAAM,QAAQ,eAAe;AAC7B,QAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,qBAAe,QAAQ,MAAM,MAAM,SAAS;AAAA,IAC9C;AAAA,EACF,CAAC;AAED,SAAO;AACT,GAbiD;AAejD,MAAM,IAAI,CAAC,QAAQ;AACnB,MAAM,IAAI,CAAC,KAAK;AAChB,MAAM,KAAK,CAAC,IAAI;AAChB,MAAM,KAAK,CAAC,UAAU,KAAK;AAC3B,MAAM,MAAM,CAAC,UAAU,IAAI;AAC3B,MAAM,OAAO,CAAC,UAAU,OAAO,IAAI;AACnC,MAAM,aAAa;AAAA,EACjB,SAAS;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,WAAW;AAAA,IACT,WAAW;AAAA,IACX,gBAAgB;AAAA,IAChB,oBAAoB;AAAA,IACpB,mBAAmB;AAAA,IACnB,mBAAmB;AAAA,IACnB,yBAAyB;AAAA,IACzB,eAAe;AAAA,IACf,oBAAoB;AAAA,IACpB,yBAAyB;AAAA,IACzB,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,sBAAsB;AAAA,IACtB,cAAc;AAAA,IACd,mBAAmB;AAAA,IACnB,mBAAmB;AAAA,IACnB,oBAAoB;AAAA,IACpB,UAAU;AAAA,IACV,WAAW;AAAA,IACX,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,eAAe;AAAA,IACf,MAAM;AAAA,IACN,kBAAkB;AAAA,IAClB,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,IACjB,kBAAkB;AAAA,IAClB,kBAAkB;AAAA,IAClB,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,qBAAqB;AAAA,IACrB,oBAAoB;AAAA,IACpB,oBAAoB;AAAA,IACpB,qBAAqB;AAAA,IACrB,QAAQ;AAAA,IACR,qBAAqB;AAAA,IACrB,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,aAAa;AAAA,IACb,aAAa;AAAA,IACb,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,IACjB,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,aAAa;AAAA,IACb,MAAM;AAAA,IACN,WAAW;AAAA,IACX,eAAe;AAAA,IACf,UAAU;AAAA,IACV,UAAU;AAAA,IACV,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,WAAW;AAAA,IACX,gBAAgB;AAAA,IAChB,OAAO;AAAA,IACP,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,kBAAkB;AAAA,IAClB,kBAAkB;AAAA,IAClB,oBAAoB;AAAA,IACpB,aAAa;AAAA,IACb,mBAAmB;AAAA,IACnB,gBAAgB;AAAA,IAChB,kBAAkB;AAAA,IAClB,gBAAgB;AAAA,IAChB,aAAa;AAAA,IACb,gBAAgB;AAAA,IAChB,mBAAmB;AAAA,IACnB,mBAAmB;AAAA,IACnB,uBAAuB;AAAA,IACvB,sBAAsB;AAAA,IACtB,qBAAqB;AAAA,IACrB,kBAAkB;AAAA,IAClB,mBAAmB;AAAA,IACnB,SAAS;AAAA,IACT,UAAU;AAAA,IACV,UAAU;AAAA,IACV,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IACjB,eAAe;AAAA,IACf,SAAS;AAAA,IACT,UAAU;AAAA,IACV,aAAa;AAAA,IACb,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,gBAAgB,CAAC,MAAM,QAAQ;AAAA,IAC/B,aAAa;AAAA,IACb,mBAAmB;AAAA,IACnB,mBAAmB;AAAA,IACnB,kBAAkB;AAAA,IAClB,mBAAmB;AAAA,IACnB,kBAAkB;AAAA,IAClB,iBAAiB;AAAA,IACjB,oBAAoB;AAAA,IACpB,oBAAoB;AAAA,IACpB,0BAA0B;AAAA,EAC5B;AACF;AAEO,MAAM,eAA8B,eAAe,UAAU;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { createCSSVariable } from "./createVariable";
|
|
4
|
-
const registerCSSVariable = /* @__PURE__ */ __name((v) => {
|
|
5
|
-
tokensValueToVariable.set(v.val, v);
|
|
6
|
-
const val = `--${createCSSVariable(v.name, false)}:${typeof v.val === "number" ? `${v.val}px` : v.val}`;
|
|
7
|
-
tokenRules.add(val);
|
|
8
|
-
return val;
|
|
9
|
-
}, "registerCSSVariable");
|
|
10
|
-
const tokensValueToVariable = /* @__PURE__ */ new Map();
|
|
11
|
-
const tokenRules = /* @__PURE__ */ new Set();
|
|
12
|
-
export {
|
|
13
|
-
registerCSSVariable,
|
|
14
|
-
tokenRules,
|
|
15
|
-
tokensValueToVariable
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=registerCSSVariable.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/registerCSSVariable.ts"],
|
|
4
|
-
"sourcesContent": ["import { Variable, createCSSVariable } from './createVariable'\n\nexport const registerCSSVariable = (v: Variable) => {\n tokensValueToVariable.set(v.val, v)\n const val = `--${createCSSVariable(v.name, false)}:${\n typeof v.val === 'number' ? `${v.val}px` : v.val\n }`\n tokenRules.add(val)\n return val\n}\n\nexport const tokensValueToVariable = new Map<string, Variable>()\nexport const tokenRules = new Set<string>()\n"],
|
|
5
|
-
"mappings": ";;AAAA;AAEO,MAAM,sBAAsB,wBAAC,MAAgB;AAClD,wBAAsB,IAAI,EAAE,KAAK,CAAC;AAClC,QAAM,MAAM,KAAK,kBAAkB,EAAE,MAAM,KAAK,KAC9C,OAAO,EAAE,QAAQ,WAAW,GAAG,EAAE,UAAU,EAAE;AAE/C,aAAW,IAAI,GAAG;AAClB,SAAO;AACT,GAPmC;AAS5B,MAAM,wBAAwB,oBAAI,IAAsB;AACxD,MAAM,aAAa,oBAAI,IAAY;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import createPrefixer from "inline-style-prefixer/lib/createPrefixer";
|
|
4
|
-
import backgroundClip from "inline-style-prefixer/lib/plugins/backgroundClip";
|
|
5
|
-
import crossFade from "inline-style-prefixer/lib/plugins/crossFade";
|
|
6
|
-
import cursor from "inline-style-prefixer/lib/plugins/cursor";
|
|
7
|
-
import filter from "inline-style-prefixer/lib/plugins/filter";
|
|
8
|
-
import flex from "inline-style-prefixer/lib/plugins/flex";
|
|
9
|
-
import flexboxIE from "inline-style-prefixer/lib/plugins/flexboxIE";
|
|
10
|
-
import flexboxOld from "inline-style-prefixer/lib/plugins/flexboxOld";
|
|
11
|
-
import gradient from "inline-style-prefixer/lib/plugins/gradient";
|
|
12
|
-
import grid from "inline-style-prefixer/lib/plugins/grid";
|
|
13
|
-
import imageSet from "inline-style-prefixer/lib/plugins/imageSet";
|
|
14
|
-
import logical from "inline-style-prefixer/lib/plugins/logical";
|
|
15
|
-
import position from "inline-style-prefixer/lib/plugins/position";
|
|
16
|
-
import sizing from "inline-style-prefixer/lib/plugins/sizing";
|
|
17
|
-
import transition from "inline-style-prefixer/lib/plugins/transition";
|
|
18
|
-
const prefixInlineStyles = /* @__PURE__ */ __name((style) => {
|
|
19
|
-
const prefixedStyles = prefixStyles(style);
|
|
20
|
-
Object.keys(prefixedStyles).forEach((prop) => {
|
|
21
|
-
const value = prefixedStyles[prop];
|
|
22
|
-
if (Array.isArray(value)) {
|
|
23
|
-
prefixedStyles[prop] = value[value.length - 1];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
return prefixedStyles;
|
|
27
|
-
}, "prefixInlineStyles");
|
|
28
|
-
const w = ["Webkit"];
|
|
29
|
-
const m = ["Moz"];
|
|
30
|
-
const ms = ["ms"];
|
|
31
|
-
const wm = ["Webkit", "Moz"];
|
|
32
|
-
const wms = ["Webkit", "ms"];
|
|
33
|
-
const wmms = ["Webkit", "Moz", "ms"];
|
|
34
|
-
const staticData = {
|
|
35
|
-
plugins: [
|
|
36
|
-
backgroundClip,
|
|
37
|
-
crossFade,
|
|
38
|
-
cursor,
|
|
39
|
-
filter,
|
|
40
|
-
flex,
|
|
41
|
-
flexboxIE,
|
|
42
|
-
flexboxOld,
|
|
43
|
-
gradient,
|
|
44
|
-
grid,
|
|
45
|
-
imageSet,
|
|
46
|
-
logical,
|
|
47
|
-
position,
|
|
48
|
-
sizing,
|
|
49
|
-
transition
|
|
50
|
-
],
|
|
51
|
-
prefixMap: {
|
|
52
|
-
animation: w,
|
|
53
|
-
animationDelay: w,
|
|
54
|
-
animationDirection: w,
|
|
55
|
-
animationFillMode: w,
|
|
56
|
-
animationDuration: w,
|
|
57
|
-
animationIterationCount: w,
|
|
58
|
-
animationName: w,
|
|
59
|
-
animationPlayState: w,
|
|
60
|
-
animationTimingFunction: w,
|
|
61
|
-
appearance: wm,
|
|
62
|
-
userSelect: wmms,
|
|
63
|
-
textEmphasisPosition: w,
|
|
64
|
-
textEmphasis: w,
|
|
65
|
-
textEmphasisStyle: w,
|
|
66
|
-
textEmphasisColor: w,
|
|
67
|
-
boxDecorationBreak: w,
|
|
68
|
-
clipPath: w,
|
|
69
|
-
maskImage: w,
|
|
70
|
-
maskMode: w,
|
|
71
|
-
maskRepeat: w,
|
|
72
|
-
maskPosition: w,
|
|
73
|
-
maskClip: w,
|
|
74
|
-
maskOrigin: w,
|
|
75
|
-
maskSize: w,
|
|
76
|
-
maskComposite: w,
|
|
77
|
-
mask: w,
|
|
78
|
-
maskBorderSource: w,
|
|
79
|
-
maskBorderMode: w,
|
|
80
|
-
maskBorderSlice: w,
|
|
81
|
-
maskBorderWidth: w,
|
|
82
|
-
maskBorderOutset: w,
|
|
83
|
-
maskBorderRepeat: w,
|
|
84
|
-
maskBorder: w,
|
|
85
|
-
maskType: w,
|
|
86
|
-
textDecorationStyle: w,
|
|
87
|
-
textDecorationSkip: w,
|
|
88
|
-
textDecorationLine: w,
|
|
89
|
-
textDecorationColor: w,
|
|
90
|
-
filter: w,
|
|
91
|
-
fontFeatureSettings: w,
|
|
92
|
-
breakAfter: wmms,
|
|
93
|
-
breakBefore: wmms,
|
|
94
|
-
breakInside: wmms,
|
|
95
|
-
columnCount: wm,
|
|
96
|
-
columnFill: wm,
|
|
97
|
-
columnGap: wm,
|
|
98
|
-
columnRule: wm,
|
|
99
|
-
columnRuleColor: wm,
|
|
100
|
-
columnRuleStyle: wm,
|
|
101
|
-
columnRuleWidth: wm,
|
|
102
|
-
columns: wm,
|
|
103
|
-
columnSpan: wm,
|
|
104
|
-
columnWidth: wm,
|
|
105
|
-
writingMode: wms,
|
|
106
|
-
flex: wms,
|
|
107
|
-
flexBasis: w,
|
|
108
|
-
flexDirection: wms,
|
|
109
|
-
flexGrow: w,
|
|
110
|
-
flexFlow: wms,
|
|
111
|
-
flexShrink: w,
|
|
112
|
-
flexWrap: wms,
|
|
113
|
-
alignContent: w,
|
|
114
|
-
alignItems: w,
|
|
115
|
-
alignSelf: w,
|
|
116
|
-
justifyContent: w,
|
|
117
|
-
order: w,
|
|
118
|
-
transform: w,
|
|
119
|
-
transformOrigin: w,
|
|
120
|
-
transformOriginX: w,
|
|
121
|
-
transformOriginY: w,
|
|
122
|
-
backfaceVisibility: w,
|
|
123
|
-
perspective: w,
|
|
124
|
-
perspectiveOrigin: w,
|
|
125
|
-
transformStyle: w,
|
|
126
|
-
transformOriginZ: w,
|
|
127
|
-
backdropFilter: w,
|
|
128
|
-
fontKerning: w,
|
|
129
|
-
scrollSnapType: wms,
|
|
130
|
-
scrollSnapPointsX: wms,
|
|
131
|
-
scrollSnapPointsY: wms,
|
|
132
|
-
scrollSnapDestination: wms,
|
|
133
|
-
scrollSnapCoordinate: wms,
|
|
134
|
-
shapeImageThreshold: w,
|
|
135
|
-
shapeImageMargin: w,
|
|
136
|
-
shapeImageOutside: w,
|
|
137
|
-
hyphens: wmms,
|
|
138
|
-
flowInto: wms,
|
|
139
|
-
flowFrom: wms,
|
|
140
|
-
regionFragment: wms,
|
|
141
|
-
textOrientation: w,
|
|
142
|
-
textAlignLast: m,
|
|
143
|
-
tabSize: m,
|
|
144
|
-
wrapFlow: ms,
|
|
145
|
-
wrapThrough: ms,
|
|
146
|
-
wrapMargin: ms,
|
|
147
|
-
touchAction: ms,
|
|
148
|
-
textSizeAdjust: ["ms", "Webkit"],
|
|
149
|
-
borderImage: w,
|
|
150
|
-
borderImageOutset: w,
|
|
151
|
-
borderImageRepeat: w,
|
|
152
|
-
borderImageSlice: w,
|
|
153
|
-
borderImageSource: w,
|
|
154
|
-
borderImageWidth: w,
|
|
155
|
-
transitionDelay: w,
|
|
156
|
-
transitionDuration: w,
|
|
157
|
-
transitionProperty: w,
|
|
158
|
-
transitionTimingFunction: w
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
const prefixStyles = createPrefixer(staticData);
|
|
162
|
-
export {
|
|
163
|
-
prefixInlineStyles,
|
|
164
|
-
prefixStyles
|
|
165
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "react-native-gesture-handler";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { createCSSVariable } from "./createVariable";
|
|
4
|
-
const registerCSSVariable = /* @__PURE__ */ __name((v) => {
|
|
5
|
-
tokensValueToVariable.set(v.val, v);
|
|
6
|
-
const val = `--${createCSSVariable(v.name, false)}:${typeof v.val === "number" ? `${v.val}px` : v.val}`;
|
|
7
|
-
tokenRules.add(val);
|
|
8
|
-
return val;
|
|
9
|
-
}, "registerCSSVariable");
|
|
10
|
-
const tokensValueToVariable = /* @__PURE__ */ new Map();
|
|
11
|
-
const tokenRules = /* @__PURE__ */ new Set();
|
|
12
|
-
export {
|
|
13
|
-
registerCSSVariable,
|
|
14
|
-
tokenRules,
|
|
15
|
-
tokensValueToVariable
|
|
16
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prefixStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/prefixStyles.ts"],"names":[],"mappings":"AAgBA,aAAK,aAAa,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;AAE9C,eAAO,MAAM,kBAAkB,EAAE,aAahC,CAAA;AAwID,eAAO,MAAM,YAAY,EAAE,aAA0C,CAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Variable } from './createVariable';
|
|
2
|
-
export declare const registerCSSVariable: (v: Variable) => string;
|
|
3
|
-
export declare const tokensValueToVariable: Map<string, Variable<any>>;
|
|
4
|
-
export declare const tokenRules: Set<string>;
|
|
5
|
-
//# sourceMappingURL=registerCSSVariable.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registerCSSVariable.d.ts","sourceRoot":"","sources":["../src/registerCSSVariable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAqB,MAAM,kBAAkB,CAAA;AAE9D,eAAO,MAAM,mBAAmB,MAAO,QAAQ,WAO9C,CAAA;AAED,eAAO,MAAM,qBAAqB,4BAA8B,CAAA;AAChE,eAAO,MAAM,UAAU,aAAoB,CAAA"}
|