tamagui 1.2.0 → 1.2.2
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/index.js +2 -0
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +2 -2
- package/dist/jsx/index.js +2 -0
- package/dist/jsx/index.js.map +2 -2
- package/linear-gradient/index.d.ts +1 -0
- package/linear-gradient/index.js +1 -0
- package/package.json +46 -45
- package/src/index.ts +1 -0
- package/types/index.d.ts +1 -1
- package/types/index.d.ts.map +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -68,6 +68,7 @@ __export(src_exports, {
|
|
|
68
68
|
useIsomorphicLayoutEffect: () => import_core.useIsomorphicLayoutEffect,
|
|
69
69
|
useMedia: () => import_core.useMedia,
|
|
70
70
|
useSafeRef: () => import_core.useSafeRef,
|
|
71
|
+
useStyle: () => import_core.useStyle,
|
|
71
72
|
useTheme: () => import_core.useTheme,
|
|
72
73
|
useThemeName: () => import_core.useThemeName,
|
|
73
74
|
variableToString: () => import_core.variableToString,
|
|
@@ -179,6 +180,7 @@ function LinearGradient(props) {
|
|
|
179
180
|
useIsomorphicLayoutEffect,
|
|
180
181
|
useMedia,
|
|
181
182
|
useSafeRef,
|
|
183
|
+
useStyle,
|
|
182
184
|
useTheme,
|
|
183
185
|
useThemeName,
|
|
184
186
|
variableToString,
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["export * from './setup'\n\nexport * from '@tamagui/adapt'\nexport * from '@tamagui/alert-dialog'\nexport * from '@tamagui/animate-presence'\nexport * from '@tamagui/avatar'\nexport * from '@tamagui/button'\nexport * from '@tamagui/card'\nexport * from '@tamagui/compose-refs'\nexport * from '@tamagui/create-context'\nexport * from '@tamagui/dialog'\nexport * from '@tamagui/font-size'\nexport * from '@tamagui/helpers-tamagui'\nexport * from '@tamagui/image'\nexport * from '@tamagui/label'\nexport * from '@tamagui/list-item'\nexport * from '@tamagui/popover'\nexport * from '@tamagui/popper'\nexport * from '@tamagui/portal'\nexport * from '@tamagui/progress'\nexport * from '@tamagui/scroll-view'\nexport * from '@tamagui/select'\nexport * from '@tamagui/separator'\nexport * from '@tamagui/shapes'\nexport * from '@tamagui/sheet'\nexport * from '@tamagui/slider'\nexport * from '@tamagui/stacks'\nexport * from '@tamagui/switch'\nexport * from '@tamagui/text'\nexport * from '@tamagui/tooltip'\nexport * from '@tamagui/use-controllable-state'\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\nexport * from '@tamagui/use-window-dimensions'\nexport * from '@tamagui/visually-hidden'\n\nexport * from './createTamagui'\n\nexport * from './views/TamaguiProvider'\nexport * from './viewTypes'\n\nexport * from './views/Anchor'\nexport * from './views/EnsureFlexed'\nexport * from './views/Fieldset'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Input'\nexport * from './views/Group'\nexport * from './views/Layouts'\n// export * from './views/Skeleton'\nexport * from './views/Spinner'\nexport * from './views/TextArea'\n\n// since we overlap with StackProps and potentially others\n// lets be explicit on what gets exported\nexport type {\n AnimationKeys,\n ColorTokens,\n CreateTamaguiConfig,\n CreateTamaguiProps,\n FontColorTokens,\n FontLetterSpacingTokens,\n FontLineHeightTokens,\n FontSizeTokens,\n FontStyleTokens,\n FontTokens,\n FontTransformTokens,\n FontWeightTokens,\n GenericFont,\n GenericTamaguiConfig,\n GetAnimationKeys,\n GetProps,\n GetVariantProps,\n GenericTextVariants,\n GenericStackVariants,\n Media,\n MediaPropKeys,\n MediaQueries,\n MediaQueryState,\n RNWTextProps,\n RNWViewProps,\n Shorthands,\n SizeTokens,\n SpaceTokens,\n SpacerProps,\n StackPropsBase,\n TamaguiElement,\n StackNonStyleProps,\n StaticConfig,\n StaticConfigParsed,\n TamaguiBaseTheme,\n TamaguiComponent,\n TamaguiComponentPropsBase,\n TamaguiConfig,\n FontLanguages,\n TamaguiCustomConfig,\n TamaguiInternalConfig,\n TamaguiProviderProps,\n TextProps,\n TextPropsBase,\n TextNonStyleProps,\n ThemeKeys,\n ThemeName,\n ThemeParsed,\n ThemeProps,\n Themes,\n ThemeValueFallback,\n Tokens,\n TransformStyleProps,\n VariantSpreadExtras,\n VariantSpreadFunction,\n ZIndexTokens,\n} from '@tamagui/core'\n\nexport {\n // components\n Spacer,\n Stack,\n Text,\n Theme,\n FontLanguage,\n Unspaced,\n // context,\n TextAncestorContext,\n // constants\n isChrome,\n isClient,\n isServer,\n isTouchable,\n isWeb,\n isWebTouchable,\n mediaQueryConfig,\n createComponent,\n createFont,\n createShorthands,\n createTheme,\n addTheme,\n updateTheme,\n createTokens,\n createVariable,\n getConfig,\n getAnimationDriver,\n getMedia,\n getStylesAtomic,\n getThemes,\n getTokens,\n getVariable,\n variableToString,\n getVariableValue,\n getVariableName,\n insertFont,\n isTamaguiElement,\n isTamaguiComponent,\n isVariable,\n matchMedia,\n mediaObjectToString,\n mediaState,\n spacedChildren,\n styled,\n themeable,\n withStaticProperties,\n // hooks\n useGet,\n useEvent,\n useDidFinishSSR,\n useIsomorphicLayoutEffect,\n useIsTouchDevice,\n useMedia,\n useTheme,\n useThemeName,\n useSafeRef,\n} from '@tamagui/core'\n\nexport function LinearGradient(props: never) {\n if (process.env.NODE_ENV === 'development') {\n console.warn(`LinearGradient has been moved to tamagui/linear-gradient as of 1.1`)\n }\n return null\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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ert-dialog'\nexport * from '@tamagui/animate-presence'\nexport * from '@tamagui/avatar'\nexport * from '@tamagui/button'\nexport * from '@tamagui/card'\nexport * from '@tamagui/compose-refs'\nexport * from '@tamagui/create-context'\nexport * from '@tamagui/dialog'\nexport * from '@tamagui/font-size'\nexport * from '@tamagui/helpers-tamagui'\nexport * from '@tamagui/image'\nexport * from '@tamagui/label'\nexport * from '@tamagui/list-item'\nexport * from '@tamagui/popover'\nexport * from '@tamagui/popper'\nexport * from '@tamagui/portal'\nexport * from '@tamagui/progress'\nexport * from '@tamagui/scroll-view'\nexport * from '@tamagui/select'\nexport * from '@tamagui/separator'\nexport * from '@tamagui/shapes'\nexport * from '@tamagui/sheet'\nexport * from '@tamagui/slider'\nexport * from '@tamagui/stacks'\nexport * from '@tamagui/switch'\nexport * from '@tamagui/text'\nexport * from '@tamagui/tooltip'\nexport * from '@tamagui/use-controllable-state'\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\nexport * from '@tamagui/use-window-dimensions'\nexport * from '@tamagui/visually-hidden'\n\nexport * from './createTamagui'\n\nexport * from './views/TamaguiProvider'\nexport * from './viewTypes'\n\nexport * from './views/Anchor'\nexport * from './views/EnsureFlexed'\nexport * from './views/Fieldset'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Input'\nexport * from './views/Group'\nexport * from './views/Layouts'\n// export * from './views/Skeleton'\nexport * from './views/Spinner'\nexport * from './views/TextArea'\n\n// since we overlap with StackProps and potentially others\n// lets be explicit on what gets exported\nexport type {\n AnimationKeys,\n ColorTokens,\n CreateTamaguiConfig,\n CreateTamaguiProps,\n FontColorTokens,\n FontLetterSpacingTokens,\n FontLineHeightTokens,\n FontSizeTokens,\n FontStyleTokens,\n FontTokens,\n FontTransformTokens,\n FontWeightTokens,\n GenericFont,\n GenericTamaguiConfig,\n GetAnimationKeys,\n GetProps,\n GetVariantProps,\n GenericTextVariants,\n GenericStackVariants,\n Media,\n MediaPropKeys,\n MediaQueries,\n MediaQueryState,\n RNWTextProps,\n RNWViewProps,\n Shorthands,\n SizeTokens,\n SpaceTokens,\n SpacerProps,\n StackPropsBase,\n TamaguiElement,\n StackNonStyleProps,\n StaticConfig,\n StaticConfigParsed,\n TamaguiBaseTheme,\n TamaguiComponent,\n TamaguiComponentPropsBase,\n TamaguiConfig,\n FontLanguages,\n TamaguiCustomConfig,\n TamaguiInternalConfig,\n TamaguiProviderProps,\n TextProps,\n TextPropsBase,\n TextNonStyleProps,\n ThemeKeys,\n ThemeName,\n ThemeParsed,\n ThemeProps,\n Themes,\n ThemeValueFallback,\n Tokens,\n TransformStyleProps,\n VariantSpreadExtras,\n VariantSpreadFunction,\n ZIndexTokens,\n} from '@tamagui/core'\n\nexport {\n // components\n Spacer,\n Stack,\n Text,\n Theme,\n FontLanguage,\n Unspaced,\n // context,\n TextAncestorContext,\n // constants\n isChrome,\n isClient,\n isServer,\n isTouchable,\n isWeb,\n isWebTouchable,\n mediaQueryConfig,\n createComponent,\n createFont,\n createShorthands,\n createTheme,\n addTheme,\n updateTheme,\n createTokens,\n createVariable,\n getConfig,\n getAnimationDriver,\n getMedia,\n getStylesAtomic,\n getThemes,\n getTokens,\n getVariable,\n variableToString,\n getVariableValue,\n getVariableName,\n insertFont,\n isTamaguiElement,\n isTamaguiComponent,\n isVariable,\n matchMedia,\n mediaObjectToString,\n mediaState,\n spacedChildren,\n styled,\n themeable,\n useStyle,\n withStaticProperties,\n // hooks\n useGet,\n useEvent,\n useDidFinishSSR,\n useIsomorphicLayoutEffect,\n useIsTouchDevice,\n useMedia,\n useTheme,\n useThemeName,\n useSafeRef,\n} from '@tamagui/core'\n\nexport function LinearGradient(props: never) {\n if (process.env.NODE_ENV === 'development') {\n console.warn(`LinearGradient has been moved to tamagui/linear-gradient as of 1.1`)\n }\n return null\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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AA+CA,wBAAc,0BA/Cd;AAgDA,wBAAc,4BAhDd;AAkDA,wBAAc,4BAlDd;AAmDA,wBAAc,6BAnDd;AAkHA,kBA0DO;AAEA,SAAS,eAAe,OAAc;AAC3C,MAAI,QAAQ,IAAI,aAAa,eAAe;AAC1C,YAAQ,KAAK,oEAAoE;AAAA,EACnF;AACA,SAAO;AACT;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -88,6 +88,7 @@ import {
|
|
|
88
88
|
spacedChildren,
|
|
89
89
|
styled,
|
|
90
90
|
themeable,
|
|
91
|
+
useStyle,
|
|
91
92
|
withStaticProperties,
|
|
92
93
|
useGet,
|
|
93
94
|
useEvent,
|
|
@@ -155,6 +156,7 @@ export {
|
|
|
155
156
|
useIsomorphicLayoutEffect,
|
|
156
157
|
useMedia,
|
|
157
158
|
useSafeRef,
|
|
159
|
+
useStyle,
|
|
158
160
|
useTheme,
|
|
159
161
|
useThemeName,
|
|
160
162
|
variableToString,
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["export * from './setup'\n\nexport * from '@tamagui/adapt'\nexport * from '@tamagui/alert-dialog'\nexport * from '@tamagui/animate-presence'\nexport * from '@tamagui/avatar'\nexport * from '@tamagui/button'\nexport * from '@tamagui/card'\nexport * from '@tamagui/compose-refs'\nexport * from '@tamagui/create-context'\nexport * from '@tamagui/dialog'\nexport * from '@tamagui/font-size'\nexport * from '@tamagui/helpers-tamagui'\nexport * from '@tamagui/image'\nexport * from '@tamagui/label'\nexport * from '@tamagui/list-item'\nexport * from '@tamagui/popover'\nexport * from '@tamagui/popper'\nexport * from '@tamagui/portal'\nexport * from '@tamagui/progress'\nexport * from '@tamagui/scroll-view'\nexport * from '@tamagui/select'\nexport * from '@tamagui/separator'\nexport * from '@tamagui/shapes'\nexport * from '@tamagui/sheet'\nexport * from '@tamagui/slider'\nexport * from '@tamagui/stacks'\nexport * from '@tamagui/switch'\nexport * from '@tamagui/text'\nexport * from '@tamagui/tooltip'\nexport * from '@tamagui/use-controllable-state'\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\nexport * from '@tamagui/use-window-dimensions'\nexport * from '@tamagui/visually-hidden'\n\nexport * from './createTamagui'\n\nexport * from './views/TamaguiProvider'\nexport * from './viewTypes'\n\nexport * from './views/Anchor'\nexport * from './views/EnsureFlexed'\nexport * from './views/Fieldset'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Input'\nexport * from './views/Group'\nexport * from './views/Layouts'\n// export * from './views/Skeleton'\nexport * from './views/Spinner'\nexport * from './views/TextArea'\n\n// since we overlap with StackProps and potentially others\n// lets be explicit on what gets exported\nexport type {\n AnimationKeys,\n ColorTokens,\n CreateTamaguiConfig,\n CreateTamaguiProps,\n FontColorTokens,\n FontLetterSpacingTokens,\n FontLineHeightTokens,\n FontSizeTokens,\n FontStyleTokens,\n FontTokens,\n FontTransformTokens,\n FontWeightTokens,\n GenericFont,\n GenericTamaguiConfig,\n GetAnimationKeys,\n GetProps,\n GetVariantProps,\n GenericTextVariants,\n GenericStackVariants,\n Media,\n MediaPropKeys,\n MediaQueries,\n MediaQueryState,\n RNWTextProps,\n RNWViewProps,\n Shorthands,\n SizeTokens,\n SpaceTokens,\n SpacerProps,\n StackPropsBase,\n TamaguiElement,\n StackNonStyleProps,\n StaticConfig,\n StaticConfigParsed,\n TamaguiBaseTheme,\n TamaguiComponent,\n TamaguiComponentPropsBase,\n TamaguiConfig,\n FontLanguages,\n TamaguiCustomConfig,\n TamaguiInternalConfig,\n TamaguiProviderProps,\n TextProps,\n TextPropsBase,\n TextNonStyleProps,\n ThemeKeys,\n ThemeName,\n ThemeParsed,\n ThemeProps,\n Themes,\n ThemeValueFallback,\n Tokens,\n TransformStyleProps,\n VariantSpreadExtras,\n VariantSpreadFunction,\n ZIndexTokens,\n} from '@tamagui/core'\n\nexport {\n // components\n Spacer,\n Stack,\n Text,\n Theme,\n FontLanguage,\n Unspaced,\n // context,\n TextAncestorContext,\n // constants\n isChrome,\n isClient,\n isServer,\n isTouchable,\n isWeb,\n isWebTouchable,\n mediaQueryConfig,\n createComponent,\n createFont,\n createShorthands,\n createTheme,\n addTheme,\n updateTheme,\n createTokens,\n createVariable,\n getConfig,\n getAnimationDriver,\n getMedia,\n getStylesAtomic,\n getThemes,\n getTokens,\n getVariable,\n variableToString,\n getVariableValue,\n getVariableName,\n insertFont,\n isTamaguiElement,\n isTamaguiComponent,\n isVariable,\n matchMedia,\n mediaObjectToString,\n mediaState,\n spacedChildren,\n styled,\n themeable,\n withStaticProperties,\n // hooks\n useGet,\n useEvent,\n useDidFinishSSR,\n useIsomorphicLayoutEffect,\n useIsTouchDevice,\n useMedia,\n useTheme,\n useThemeName,\n useSafeRef,\n} from '@tamagui/core'\n\nexport function LinearGradient(props: never) {\n if (process.env.NODE_ENV === 'development') {\n console.warn(`LinearGradient has been moved to tamagui/linear-gradient as of 1.1`)\n }\n return null\n}\n"],
|
|
5
|
-
"mappings": "AAAA,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AAEd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AA+Dd;AAAA,EAEE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEA,SAAS,eAAe,OAAc;AAC3C,MAAI,QAAQ,IAAI,aAAa,eAAe;AAC1C,YAAQ,KAAK,oEAAoE;AAAA,EACnF;AACA,SAAO;AACT;",
|
|
4
|
+
"sourcesContent": ["export * from './setup'\n\nexport * from '@tamagui/adapt'\nexport * from '@tamagui/alert-dialog'\nexport * from '@tamagui/animate-presence'\nexport * from '@tamagui/avatar'\nexport * from '@tamagui/button'\nexport * from '@tamagui/card'\nexport * from '@tamagui/compose-refs'\nexport * from '@tamagui/create-context'\nexport * from '@tamagui/dialog'\nexport * from '@tamagui/font-size'\nexport * from '@tamagui/helpers-tamagui'\nexport * from '@tamagui/image'\nexport * from '@tamagui/label'\nexport * from '@tamagui/list-item'\nexport * from '@tamagui/popover'\nexport * from '@tamagui/popper'\nexport * from '@tamagui/portal'\nexport * from '@tamagui/progress'\nexport * from '@tamagui/scroll-view'\nexport * from '@tamagui/select'\nexport * from '@tamagui/separator'\nexport * from '@tamagui/shapes'\nexport * from '@tamagui/sheet'\nexport * from '@tamagui/slider'\nexport * from '@tamagui/stacks'\nexport * from '@tamagui/switch'\nexport * from '@tamagui/text'\nexport * from '@tamagui/tooltip'\nexport * from '@tamagui/use-controllable-state'\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\nexport * from '@tamagui/use-window-dimensions'\nexport * from '@tamagui/visually-hidden'\n\nexport * from './createTamagui'\n\nexport * from './views/TamaguiProvider'\nexport * from './viewTypes'\n\nexport * from './views/Anchor'\nexport * from './views/EnsureFlexed'\nexport * from './views/Fieldset'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Input'\nexport * from './views/Group'\nexport * from './views/Layouts'\n// export * from './views/Skeleton'\nexport * from './views/Spinner'\nexport * from './views/TextArea'\n\n// since we overlap with StackProps and potentially others\n// lets be explicit on what gets exported\nexport type {\n AnimationKeys,\n ColorTokens,\n CreateTamaguiConfig,\n CreateTamaguiProps,\n FontColorTokens,\n FontLetterSpacingTokens,\n FontLineHeightTokens,\n FontSizeTokens,\n FontStyleTokens,\n FontTokens,\n FontTransformTokens,\n FontWeightTokens,\n GenericFont,\n GenericTamaguiConfig,\n GetAnimationKeys,\n GetProps,\n GetVariantProps,\n GenericTextVariants,\n GenericStackVariants,\n Media,\n MediaPropKeys,\n MediaQueries,\n MediaQueryState,\n RNWTextProps,\n RNWViewProps,\n Shorthands,\n SizeTokens,\n SpaceTokens,\n SpacerProps,\n StackPropsBase,\n TamaguiElement,\n StackNonStyleProps,\n StaticConfig,\n StaticConfigParsed,\n TamaguiBaseTheme,\n TamaguiComponent,\n TamaguiComponentPropsBase,\n TamaguiConfig,\n FontLanguages,\n TamaguiCustomConfig,\n TamaguiInternalConfig,\n TamaguiProviderProps,\n TextProps,\n TextPropsBase,\n TextNonStyleProps,\n ThemeKeys,\n ThemeName,\n ThemeParsed,\n ThemeProps,\n Themes,\n ThemeValueFallback,\n Tokens,\n TransformStyleProps,\n VariantSpreadExtras,\n VariantSpreadFunction,\n ZIndexTokens,\n} from '@tamagui/core'\n\nexport {\n // components\n Spacer,\n Stack,\n Text,\n Theme,\n FontLanguage,\n Unspaced,\n // context,\n TextAncestorContext,\n // constants\n isChrome,\n isClient,\n isServer,\n isTouchable,\n isWeb,\n isWebTouchable,\n mediaQueryConfig,\n createComponent,\n createFont,\n createShorthands,\n createTheme,\n addTheme,\n updateTheme,\n createTokens,\n createVariable,\n getConfig,\n getAnimationDriver,\n getMedia,\n getStylesAtomic,\n getThemes,\n getTokens,\n getVariable,\n variableToString,\n getVariableValue,\n getVariableName,\n insertFont,\n isTamaguiElement,\n isTamaguiComponent,\n isVariable,\n matchMedia,\n mediaObjectToString,\n mediaState,\n spacedChildren,\n styled,\n themeable,\n useStyle,\n withStaticProperties,\n // hooks\n useGet,\n useEvent,\n useDidFinishSSR,\n useIsomorphicLayoutEffect,\n useIsTouchDevice,\n useMedia,\n useTheme,\n useThemeName,\n useSafeRef,\n} from '@tamagui/core'\n\nexport function LinearGradient(props: never) {\n if (process.env.NODE_ENV === 'development') {\n console.warn(`LinearGradient has been moved to tamagui/linear-gradient as of 1.1`)\n }\n return null\n}\n"],
|
|
5
|
+
"mappings": "AAAA,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AAEd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AA+Dd;AAAA,EAEE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEA,SAAS,eAAe,OAAc;AAC3C,MAAI,QAAQ,IAAI,aAAa,eAAe;AAC1C,YAAQ,KAAK,oEAAoE;AAAA,EACnF;AACA,SAAO;AACT;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/index.js
CHANGED
|
@@ -88,6 +88,7 @@ import {
|
|
|
88
88
|
spacedChildren,
|
|
89
89
|
styled,
|
|
90
90
|
themeable,
|
|
91
|
+
useStyle,
|
|
91
92
|
withStaticProperties,
|
|
92
93
|
useGet,
|
|
93
94
|
useEvent,
|
|
@@ -155,6 +156,7 @@ export {
|
|
|
155
156
|
useIsomorphicLayoutEffect,
|
|
156
157
|
useMedia,
|
|
157
158
|
useSafeRef,
|
|
159
|
+
useStyle,
|
|
158
160
|
useTheme,
|
|
159
161
|
useThemeName,
|
|
160
162
|
variableToString,
|
package/dist/jsx/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["export * from './setup'\n\nexport * from '@tamagui/adapt'\nexport * from '@tamagui/alert-dialog'\nexport * from '@tamagui/animate-presence'\nexport * from '@tamagui/avatar'\nexport * from '@tamagui/button'\nexport * from '@tamagui/card'\nexport * from '@tamagui/compose-refs'\nexport * from '@tamagui/create-context'\nexport * from '@tamagui/dialog'\nexport * from '@tamagui/font-size'\nexport * from '@tamagui/helpers-tamagui'\nexport * from '@tamagui/image'\nexport * from '@tamagui/label'\nexport * from '@tamagui/list-item'\nexport * from '@tamagui/popover'\nexport * from '@tamagui/popper'\nexport * from '@tamagui/portal'\nexport * from '@tamagui/progress'\nexport * from '@tamagui/scroll-view'\nexport * from '@tamagui/select'\nexport * from '@tamagui/separator'\nexport * from '@tamagui/shapes'\nexport * from '@tamagui/sheet'\nexport * from '@tamagui/slider'\nexport * from '@tamagui/stacks'\nexport * from '@tamagui/switch'\nexport * from '@tamagui/text'\nexport * from '@tamagui/tooltip'\nexport * from '@tamagui/use-controllable-state'\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\nexport * from '@tamagui/use-window-dimensions'\nexport * from '@tamagui/visually-hidden'\n\nexport * from './createTamagui'\n\nexport * from './views/TamaguiProvider'\nexport * from './viewTypes'\n\nexport * from './views/Anchor'\nexport * from './views/EnsureFlexed'\nexport * from './views/Fieldset'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Input'\nexport * from './views/Group'\nexport * from './views/Layouts'\n// export * from './views/Skeleton'\nexport * from './views/Spinner'\nexport * from './views/TextArea'\n\n// since we overlap with StackProps and potentially others\n// lets be explicit on what gets exported\nexport type {\n AnimationKeys,\n ColorTokens,\n CreateTamaguiConfig,\n CreateTamaguiProps,\n FontColorTokens,\n FontLetterSpacingTokens,\n FontLineHeightTokens,\n FontSizeTokens,\n FontStyleTokens,\n FontTokens,\n FontTransformTokens,\n FontWeightTokens,\n GenericFont,\n GenericTamaguiConfig,\n GetAnimationKeys,\n GetProps,\n GetVariantProps,\n GenericTextVariants,\n GenericStackVariants,\n Media,\n MediaPropKeys,\n MediaQueries,\n MediaQueryState,\n RNWTextProps,\n RNWViewProps,\n Shorthands,\n SizeTokens,\n SpaceTokens,\n SpacerProps,\n StackPropsBase,\n TamaguiElement,\n StackNonStyleProps,\n StaticConfig,\n StaticConfigParsed,\n TamaguiBaseTheme,\n TamaguiComponent,\n TamaguiComponentPropsBase,\n TamaguiConfig,\n FontLanguages,\n TamaguiCustomConfig,\n TamaguiInternalConfig,\n TamaguiProviderProps,\n TextProps,\n TextPropsBase,\n TextNonStyleProps,\n ThemeKeys,\n ThemeName,\n ThemeParsed,\n ThemeProps,\n Themes,\n ThemeValueFallback,\n Tokens,\n TransformStyleProps,\n VariantSpreadExtras,\n VariantSpreadFunction,\n ZIndexTokens,\n} from '@tamagui/core'\n\nexport {\n // components\n Spacer,\n Stack,\n Text,\n Theme,\n FontLanguage,\n Unspaced,\n // context,\n TextAncestorContext,\n // constants\n isChrome,\n isClient,\n isServer,\n isTouchable,\n isWeb,\n isWebTouchable,\n mediaQueryConfig,\n createComponent,\n createFont,\n createShorthands,\n createTheme,\n addTheme,\n updateTheme,\n createTokens,\n createVariable,\n getConfig,\n getAnimationDriver,\n getMedia,\n getStylesAtomic,\n getThemes,\n getTokens,\n getVariable,\n variableToString,\n getVariableValue,\n getVariableName,\n insertFont,\n isTamaguiElement,\n isTamaguiComponent,\n isVariable,\n matchMedia,\n mediaObjectToString,\n mediaState,\n spacedChildren,\n styled,\n themeable,\n withStaticProperties,\n // hooks\n useGet,\n useEvent,\n useDidFinishSSR,\n useIsomorphicLayoutEffect,\n useIsTouchDevice,\n useMedia,\n useTheme,\n useThemeName,\n useSafeRef,\n} from '@tamagui/core'\n\nexport function LinearGradient(props: never) {\n if (process.env.NODE_ENV === 'development') {\n console.warn(`LinearGradient has been moved to tamagui/linear-gradient as of 1.1`)\n }\n return null\n}\n"],
|
|
5
|
-
"mappings": "AAAA,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AAEd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAEd,cAAc;AACd,cAAc;AA+Dd;AAAA,EAEE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEA,SAAS,eAAe,OAAc;AAC3C,MAAI,QAAQ,IAAI,aAAa,eAAe;AAC1C,YAAQ,KAAK,oEAAoE;AAAA,EACnF;AACA,SAAO;AACT;",
|
|
4
|
+
"sourcesContent": ["export * from './setup'\n\nexport * from '@tamagui/adapt'\nexport * from '@tamagui/alert-dialog'\nexport * from '@tamagui/animate-presence'\nexport * from '@tamagui/avatar'\nexport * from '@tamagui/button'\nexport * from '@tamagui/card'\nexport * from '@tamagui/compose-refs'\nexport * from '@tamagui/create-context'\nexport * from '@tamagui/dialog'\nexport * from '@tamagui/font-size'\nexport * from '@tamagui/helpers-tamagui'\nexport * from '@tamagui/image'\nexport * from '@tamagui/label'\nexport * from '@tamagui/list-item'\nexport * from '@tamagui/popover'\nexport * from '@tamagui/popper'\nexport * from '@tamagui/portal'\nexport * from '@tamagui/progress'\nexport * from '@tamagui/scroll-view'\nexport * from '@tamagui/select'\nexport * from '@tamagui/separator'\nexport * from '@tamagui/shapes'\nexport * from '@tamagui/sheet'\nexport * from '@tamagui/slider'\nexport * from '@tamagui/stacks'\nexport * from '@tamagui/switch'\nexport * from '@tamagui/text'\nexport * from '@tamagui/tooltip'\nexport * from '@tamagui/use-controllable-state'\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\nexport * from '@tamagui/use-window-dimensions'\nexport * from '@tamagui/visually-hidden'\n\nexport * from './createTamagui'\n\nexport * from './views/TamaguiProvider'\nexport * from './viewTypes'\n\nexport * from './views/Anchor'\nexport * from './views/EnsureFlexed'\nexport * from './views/Fieldset'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Input'\nexport * from './views/Group'\nexport * from './views/Layouts'\n// export * from './views/Skeleton'\nexport * from './views/Spinner'\nexport * from './views/TextArea'\n\n// since we overlap with StackProps and potentially others\n// lets be explicit on what gets exported\nexport type {\n AnimationKeys,\n ColorTokens,\n CreateTamaguiConfig,\n CreateTamaguiProps,\n FontColorTokens,\n FontLetterSpacingTokens,\n FontLineHeightTokens,\n FontSizeTokens,\n FontStyleTokens,\n FontTokens,\n FontTransformTokens,\n FontWeightTokens,\n GenericFont,\n GenericTamaguiConfig,\n GetAnimationKeys,\n GetProps,\n GetVariantProps,\n GenericTextVariants,\n GenericStackVariants,\n Media,\n MediaPropKeys,\n MediaQueries,\n MediaQueryState,\n RNWTextProps,\n RNWViewProps,\n Shorthands,\n SizeTokens,\n SpaceTokens,\n SpacerProps,\n StackPropsBase,\n TamaguiElement,\n StackNonStyleProps,\n StaticConfig,\n StaticConfigParsed,\n TamaguiBaseTheme,\n TamaguiComponent,\n TamaguiComponentPropsBase,\n TamaguiConfig,\n FontLanguages,\n TamaguiCustomConfig,\n TamaguiInternalConfig,\n TamaguiProviderProps,\n TextProps,\n TextPropsBase,\n TextNonStyleProps,\n ThemeKeys,\n ThemeName,\n ThemeParsed,\n ThemeProps,\n Themes,\n ThemeValueFallback,\n Tokens,\n TransformStyleProps,\n VariantSpreadExtras,\n VariantSpreadFunction,\n ZIndexTokens,\n} from '@tamagui/core'\n\nexport {\n // components\n Spacer,\n Stack,\n Text,\n Theme,\n FontLanguage,\n Unspaced,\n // context,\n TextAncestorContext,\n // constants\n isChrome,\n isClient,\n isServer,\n isTouchable,\n isWeb,\n isWebTouchable,\n mediaQueryConfig,\n createComponent,\n createFont,\n createShorthands,\n createTheme,\n addTheme,\n updateTheme,\n createTokens,\n createVariable,\n getConfig,\n getAnimationDriver,\n getMedia,\n getStylesAtomic,\n getThemes,\n getTokens,\n getVariable,\n variableToString,\n getVariableValue,\n getVariableName,\n insertFont,\n isTamaguiElement,\n isTamaguiComponent,\n isVariable,\n matchMedia,\n mediaObjectToString,\n mediaState,\n spacedChildren,\n styled,\n themeable,\n useStyle,\n withStaticProperties,\n // hooks\n useGet,\n useEvent,\n useDidFinishSSR,\n useIsomorphicLayoutEffect,\n useIsTouchDevice,\n useMedia,\n useTheme,\n useThemeName,\n useSafeRef,\n} from '@tamagui/core'\n\nexport function LinearGradient(props: never) {\n if (process.env.NODE_ENV === 'development') {\n console.warn(`LinearGradient has been moved to tamagui/linear-gradient as of 1.1`)\n }\n return null\n}\n"],
|
|
5
|
+
"mappings": "AAAA,cAAc;AAEd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,c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|
1
|
+
export * from '../types/linear-gradient'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/esm/linear-gradient'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css",
|
|
6
6
|
"*setup.js"
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"src",
|
|
15
15
|
"types",
|
|
16
|
-
"dist"
|
|
16
|
+
"dist",
|
|
17
|
+
"linear-gradient"
|
|
17
18
|
],
|
|
18
19
|
"scripts": {
|
|
19
20
|
"build": "tamagui-build",
|
|
@@ -39,48 +40,48 @@
|
|
|
39
40
|
}
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
|
-
"@tamagui/adapt": "^1.2.
|
|
43
|
-
"@tamagui/alert-dialog": "^1.2.
|
|
44
|
-
"@tamagui/animate-presence": "^1.2.
|
|
45
|
-
"@tamagui/avatar": "^1.2.
|
|
46
|
-
"@tamagui/button": "^1.2.
|
|
47
|
-
"@tamagui/card": "^1.2.
|
|
48
|
-
"@tamagui/compose-refs": "^1.2.
|
|
49
|
-
"@tamagui/core": "^1.2.
|
|
50
|
-
"@tamagui/create-context": "^1.2.
|
|
51
|
-
"@tamagui/dialog": "^1.2.
|
|
52
|
-
"@tamagui/fake-react-native": "^1.2.
|
|
53
|
-
"@tamagui/font-size": "^1.2.
|
|
54
|
-
"@tamagui/get-button-sized": "^1.2.
|
|
55
|
-
"@tamagui/get-font-sized": "^1.2.
|
|
56
|
-
"@tamagui/get-size": "^1.2.
|
|
57
|
-
"@tamagui/helpers": "^1.2.
|
|
58
|
-
"@tamagui/helpers-tamagui": "^1.2.
|
|
59
|
-
"@tamagui/image": "^1.2.
|
|
60
|
-
"@tamagui/label": "^1.2.
|
|
61
|
-
"@tamagui/linear-gradient": "^1.2.
|
|
62
|
-
"@tamagui/list-item": "^1.2.
|
|
63
|
-
"@tamagui/popover": "^1.2.
|
|
64
|
-
"@tamagui/popper": "^1.2.
|
|
65
|
-
"@tamagui/portal": "^1.2.
|
|
66
|
-
"@tamagui/progress": "^1.2.
|
|
67
|
-
"@tamagui/react-native-media-driver": "^1.2.
|
|
68
|
-
"@tamagui/scroll-view": "^1.2.
|
|
69
|
-
"@tamagui/select": "^1.2.
|
|
70
|
-
"@tamagui/separator": "^1.2.
|
|
71
|
-
"@tamagui/shapes": "^1.2.
|
|
72
|
-
"@tamagui/sheet": "^1.2.
|
|
73
|
-
"@tamagui/slider": "^1.2.
|
|
74
|
-
"@tamagui/stacks": "^1.2.
|
|
75
|
-
"@tamagui/switch": "^1.2.
|
|
76
|
-
"@tamagui/text": "^1.2.
|
|
77
|
-
"@tamagui/tooltip": "^1.2.
|
|
78
|
-
"@tamagui/use-controllable-state": "^1.2.
|
|
79
|
-
"@tamagui/use-debounce": "^1.2.
|
|
80
|
-
"@tamagui/use-event": "^1.2.
|
|
81
|
-
"@tamagui/use-force-update": "^1.2.
|
|
82
|
-
"@tamagui/use-window-dimensions": "^1.2.
|
|
83
|
-
"@tamagui/visually-hidden": "^1.2.
|
|
43
|
+
"@tamagui/adapt": "^1.2.2",
|
|
44
|
+
"@tamagui/alert-dialog": "^1.2.2",
|
|
45
|
+
"@tamagui/animate-presence": "^1.2.2",
|
|
46
|
+
"@tamagui/avatar": "^1.2.2",
|
|
47
|
+
"@tamagui/button": "^1.2.2",
|
|
48
|
+
"@tamagui/card": "^1.2.2",
|
|
49
|
+
"@tamagui/compose-refs": "^1.2.2",
|
|
50
|
+
"@tamagui/core": "^1.2.2",
|
|
51
|
+
"@tamagui/create-context": "^1.2.2",
|
|
52
|
+
"@tamagui/dialog": "^1.2.2",
|
|
53
|
+
"@tamagui/fake-react-native": "^1.2.2",
|
|
54
|
+
"@tamagui/font-size": "^1.2.2",
|
|
55
|
+
"@tamagui/get-button-sized": "^1.2.2",
|
|
56
|
+
"@tamagui/get-font-sized": "^1.2.2",
|
|
57
|
+
"@tamagui/get-size": "^1.2.2",
|
|
58
|
+
"@tamagui/helpers": "^1.2.2",
|
|
59
|
+
"@tamagui/helpers-tamagui": "^1.2.2",
|
|
60
|
+
"@tamagui/image": "^1.2.2",
|
|
61
|
+
"@tamagui/label": "^1.2.2",
|
|
62
|
+
"@tamagui/linear-gradient": "^1.2.2",
|
|
63
|
+
"@tamagui/list-item": "^1.2.2",
|
|
64
|
+
"@tamagui/popover": "^1.2.2",
|
|
65
|
+
"@tamagui/popper": "^1.2.2",
|
|
66
|
+
"@tamagui/portal": "^1.2.2",
|
|
67
|
+
"@tamagui/progress": "^1.2.2",
|
|
68
|
+
"@tamagui/react-native-media-driver": "^1.2.2",
|
|
69
|
+
"@tamagui/scroll-view": "^1.2.2",
|
|
70
|
+
"@tamagui/select": "^1.2.2",
|
|
71
|
+
"@tamagui/separator": "^1.2.2",
|
|
72
|
+
"@tamagui/shapes": "^1.2.2",
|
|
73
|
+
"@tamagui/sheet": "^1.2.2",
|
|
74
|
+
"@tamagui/slider": "^1.2.2",
|
|
75
|
+
"@tamagui/stacks": "^1.2.2",
|
|
76
|
+
"@tamagui/switch": "^1.2.2",
|
|
77
|
+
"@tamagui/text": "^1.2.2",
|
|
78
|
+
"@tamagui/tooltip": "^1.2.2",
|
|
79
|
+
"@tamagui/use-controllable-state": "^1.2.2",
|
|
80
|
+
"@tamagui/use-debounce": "^1.2.2",
|
|
81
|
+
"@tamagui/use-event": "^1.2.2",
|
|
82
|
+
"@tamagui/use-force-update": "^1.2.2",
|
|
83
|
+
"@tamagui/use-window-dimensions": "^1.2.2",
|
|
84
|
+
"@tamagui/visually-hidden": "^1.2.2"
|
|
84
85
|
},
|
|
85
86
|
"peerDependencies": {
|
|
86
87
|
"react": "*",
|
|
@@ -88,7 +89,7 @@
|
|
|
88
89
|
"react-native-web": "*"
|
|
89
90
|
},
|
|
90
91
|
"devDependencies": {
|
|
91
|
-
"@tamagui/build": "^1.2.
|
|
92
|
+
"@tamagui/build": "^1.2.2",
|
|
92
93
|
"@types/node": "^16.11.9",
|
|
93
94
|
"@types/react": "^18.0.15",
|
|
94
95
|
"react": "^18.2.0",
|
package/src/index.ts
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -46,6 +46,6 @@ export * from './views/Layouts';
|
|
|
46
46
|
export * from './views/Spinner';
|
|
47
47
|
export * from './views/TextArea';
|
|
48
48
|
export type { AnimationKeys, ColorTokens, CreateTamaguiConfig, CreateTamaguiProps, FontColorTokens, FontLetterSpacingTokens, FontLineHeightTokens, FontSizeTokens, FontStyleTokens, FontTokens, FontTransformTokens, FontWeightTokens, GenericFont, GenericTamaguiConfig, GetAnimationKeys, GetProps, GetVariantProps, GenericTextVariants, GenericStackVariants, Media, MediaPropKeys, MediaQueries, MediaQueryState, RNWTextProps, RNWViewProps, Shorthands, SizeTokens, SpaceTokens, SpacerProps, StackPropsBase, TamaguiElement, StackNonStyleProps, StaticConfig, StaticConfigParsed, TamaguiBaseTheme, TamaguiComponent, TamaguiComponentPropsBase, TamaguiConfig, FontLanguages, TamaguiCustomConfig, TamaguiInternalConfig, TamaguiProviderProps, TextProps, TextPropsBase, TextNonStyleProps, ThemeKeys, ThemeName, ThemeParsed, ThemeProps, Themes, ThemeValueFallback, Tokens, TransformStyleProps, VariantSpreadExtras, VariantSpreadFunction, ZIndexTokens, } from '@tamagui/core';
|
|
49
|
-
export { Spacer, Stack, Text, Theme, FontLanguage, Unspaced, TextAncestorContext, isChrome, isClient, isServer, isTouchable, isWeb, isWebTouchable, mediaQueryConfig, createComponent, createFont, createShorthands, createTheme, addTheme, updateTheme, createTokens, createVariable, getConfig, getAnimationDriver, getMedia, getStylesAtomic, getThemes, getTokens, getVariable, variableToString, getVariableValue, getVariableName, insertFont, isTamaguiElement, isTamaguiComponent, isVariable, matchMedia, mediaObjectToString, mediaState, spacedChildren, styled, themeable, withStaticProperties, useGet, useEvent, useDidFinishSSR, useIsomorphicLayoutEffect, useIsTouchDevice, useMedia, useTheme, useThemeName, useSafeRef, } from '@tamagui/core';
|
|
49
|
+
export { Spacer, Stack, Text, Theme, FontLanguage, Unspaced, TextAncestorContext, isChrome, isClient, isServer, isTouchable, isWeb, isWebTouchable, mediaQueryConfig, createComponent, createFont, createShorthands, createTheme, addTheme, updateTheme, createTokens, createVariable, getConfig, getAnimationDriver, getMedia, getStylesAtomic, getThemes, getTokens, getVariable, variableToString, getVariableValue, getVariableName, insertFont, isTamaguiElement, isTamaguiComponent, isVariable, matchMedia, mediaObjectToString, mediaState, spacedChildren, styled, themeable, useStyle, withStaticProperties, useGet, useEvent, useDidFinishSSR, useIsomorphicLayoutEffect, useIsTouchDevice, useMedia, useTheme, useThemeName, useSafeRef, } from '@tamagui/core';
|
|
50
50
|
export declare function LinearGradient(props: never): null;
|
|
51
51
|
//# sourceMappingURL=index.d.ts.map
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AAEvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA;AAClC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,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,EACrB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,WAAW,EACX,UAAU,EACV,MAAM,EACN,kBAAkB,EAClB,MAAM,EACN,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,YAAY,GACb,MAAM,eAAe,CAAA;AAEtB,OAAO,EAEL,MAAM,EACN,KAAK,EACL,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,QAAQ,EAER,mBAAmB,EAEnB,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,KAAK,EACL,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,cAAc,EACd,SAAS,EACT,kBAAkB,EAClB,QAAQ,EACR,eAAe,EACf,SAAS,EACT,SAAS,EACT,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,UAAU,EACV,cAAc,EACd,MAAM,EACN,SAAS,EACT,oBAAoB,EAEpB,MAAM,EACN,QAAQ,EACR,eAAe,EACf,yBAAyB,EACzB,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,UAAU,GACX,MAAM,eAAe,CAAA;AAEtB,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,QAK1C"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AAEvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,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