tamagui 1.0.22 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +8 -1
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/linear-gradient.js +19 -0
- package/dist/cjs/linear-gradient.js.map +7 -0
- package/dist/esm/index.js +7 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/linear-gradient.js +2 -0
- package/dist/esm/linear-gradient.js.map +7 -0
- package/dist/jsx/index.js +7 -1
- package/dist/jsx/index.js.map +2 -2
- package/dist/jsx/linear-gradient.js +2 -0
- package/dist/jsx/linear-gradient.js.map +7 -0
- package/package.json +50 -44
- package/src/index.ts +7 -1
- package/src/linear-gradient.ts +1 -0
- package/types/index.d.ts +1 -1
- package/types/linear-gradient.d.ts +2 -0
package/dist/cjs/index.js
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
var src_exports = {};
|
|
21
21
|
__export(src_exports, {
|
|
22
22
|
FontLanguage: () => import_core.FontLanguage,
|
|
23
|
+
LinearGradient: () => LinearGradient,
|
|
23
24
|
Spacer: () => import_core.Spacer,
|
|
24
25
|
Stack: () => import_core.Stack,
|
|
25
26
|
Text: () => import_core.Text,
|
|
@@ -87,7 +88,6 @@ __reExport(src_exports, require("@tamagui/font-size"), module.exports);
|
|
|
87
88
|
__reExport(src_exports, require("@tamagui/helpers-tamagui"), module.exports);
|
|
88
89
|
__reExport(src_exports, require("@tamagui/image"), module.exports);
|
|
89
90
|
__reExport(src_exports, require("@tamagui/label"), module.exports);
|
|
90
|
-
__reExport(src_exports, require("@tamagui/linear-gradient"), module.exports);
|
|
91
91
|
__reExport(src_exports, require("@tamagui/list-item"), module.exports);
|
|
92
92
|
__reExport(src_exports, require("@tamagui/popover"), module.exports);
|
|
93
93
|
__reExport(src_exports, require("@tamagui/popper"), module.exports);
|
|
@@ -122,9 +122,16 @@ __reExport(src_exports, require("./views/Layouts"), module.exports);
|
|
|
122
122
|
__reExport(src_exports, require("./views/Spinner"), module.exports);
|
|
123
123
|
__reExport(src_exports, require("./views/TextArea"), module.exports);
|
|
124
124
|
var import_core = require("@tamagui/core");
|
|
125
|
+
function LinearGradient(props) {
|
|
126
|
+
if (process.env.NODE_ENV === "development") {
|
|
127
|
+
console.warn(`LinearGradient has been moved to tamagui/linear-gradient as of 1.1`);
|
|
128
|
+
}
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
125
131
|
// Annotate the CommonJS export names for ESM import in node:
|
|
126
132
|
0 && (module.exports = {
|
|
127
133
|
FontLanguage,
|
|
134
|
+
LinearGradient,
|
|
128
135
|
Spacer,
|
|
129
136
|
Stack,
|
|
130
137
|
Text,
|
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/
|
|
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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAc,oBAAd;AAEA,wBAAc,2BAFd;AAGA,wBAAc,kCAHd;AAIA,wBAAc,sCAJd;AAKA,wBAAc,4BALd;AAMA,wBAAc,4BANd;AAOA,wBAAc,0BAPd;AAQA,wBAAc,kCARd;AASA,wBAAc,oCATd;AAUA,wBAAc,4BAVd;AAWA,wBAAc,+BAXd;AAYA,wBAAc,qCAZd;AAaA,wBAAc,2BAbd;AAcA,wBAAc,2BAdd;AAeA,wBAAc
|
|
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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAc,oBAAd;AAEA,wBAAc,2BAFd;AAGA,wBAAc,kCAHd;AAIA,wBAAc,sCAJd;AAKA,wBAAc,4BALd;AAMA,wBAAc,4BANd;AAOA,wBAAc,0BAPd;AAQA,wBAAc,kCARd;AASA,wBAAc,oCATd;AAUA,wBAAc,4BAVd;AAWA,wBAAc,+BAXd;AAYA,wBAAc,qCAZd;AAaA,wBAAc,2BAbd;AAcA,wBAAc,2BAdd;AAeA,wBAAc,+BAfd;AAgBA,wBAAc,6BAhBd;AAiBA,wBAAc,4BAjBd;AAkBA,wBAAc,4BAlBd;AAmBA,wBAAc,8BAnBd;AAoBA,wBAAc,iCApBd;AAqBA,wBAAc,4BArBd;AAsBA,wBAAc,+BAtBd;AAuBA,wBAAc,4BAvBd;AAwBA,wBAAc,2BAxBd;AAyBA,wBAAc,4BAzBd;AA0BA,wBAAc,4BA1Bd;AA2BA,wBAAc,4BA3Bd;AA4BA,wBAAc,0BA5Bd;AA6BA,wBAAc,6BA7Bd;AA8BA,wBAAc,4CA9Bd;AA+BA,wBAAc,kCA/Bd;AAgCA,wBAAc,sCAhCd;AAiCA,wBAAc,2CAjCd;AAkCA,wBAAc,qCAlCd;AAoCA,wBAAc,4BApCd;AAsCA,wBAAc,oCAtCd;AAuCA,wBAAc,wBAvCd;AAyCA,wBAAc,2BAzCd;AA0CA,wBAAc,iCA1Cd;AA2CA,wBAAc,6BA3Cd;AA4CA,wBAAc,yBA5Cd;AA6CA,wBAAc,yBA7Cd;AA8CA,wBAAc,0BA9Cd;AA+CA,wBAAc,0BA/Cd;AAgDA,wBAAc,4BAhDd;AAkDA,wBAAc,4BAlDd;AAmDA,wBAAc,6BAnDd;AAkHA,kBAyDO;AAEA,SAAS,eAAe,OAAc;AAC3C,MAAI,QAAQ,IAAI,aAAa,eAAe;AAC1C,YAAQ,KAAK,oEAAoE;AAAA,EACnF;AACA,SAAO;AACT;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var linear_gradient_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(linear_gradient_exports);
|
|
18
|
+
__reExport(linear_gradient_exports, require("@tamagui/linear-gradient"), module.exports);
|
|
19
|
+
//# sourceMappingURL=linear-gradient.js.map
|
package/dist/esm/index.js
CHANGED
|
@@ -12,7 +12,6 @@ export * from "@tamagui/font-size";
|
|
|
12
12
|
export * from "@tamagui/helpers-tamagui";
|
|
13
13
|
export * from "@tamagui/image";
|
|
14
14
|
export * from "@tamagui/label";
|
|
15
|
-
export * from "@tamagui/linear-gradient";
|
|
16
15
|
export * from "@tamagui/list-item";
|
|
17
16
|
export * from "@tamagui/popover";
|
|
18
17
|
export * from "@tamagui/popper";
|
|
@@ -100,8 +99,15 @@ import {
|
|
|
100
99
|
useThemeName,
|
|
101
100
|
useSafeRef
|
|
102
101
|
} from "@tamagui/core";
|
|
102
|
+
function LinearGradient(props) {
|
|
103
|
+
if (process.env.NODE_ENV === "development") {
|
|
104
|
+
console.warn(`LinearGradient has been moved to tamagui/linear-gradient as of 1.1`);
|
|
105
|
+
}
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
103
108
|
export {
|
|
104
109
|
FontLanguage,
|
|
110
|
+
LinearGradient,
|
|
105
111
|
Spacer,
|
|
106
112
|
Stack,
|
|
107
113
|
Text,
|
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/
|
|
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;
|
|
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;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/index.js
CHANGED
|
@@ -12,7 +12,6 @@ export * from "@tamagui/font-size";
|
|
|
12
12
|
export * from "@tamagui/helpers-tamagui";
|
|
13
13
|
export * from "@tamagui/image";
|
|
14
14
|
export * from "@tamagui/label";
|
|
15
|
-
export * from "@tamagui/linear-gradient";
|
|
16
15
|
export * from "@tamagui/list-item";
|
|
17
16
|
export * from "@tamagui/popover";
|
|
18
17
|
export * from "@tamagui/popper";
|
|
@@ -100,8 +99,15 @@ import {
|
|
|
100
99
|
useThemeName,
|
|
101
100
|
useSafeRef
|
|
102
101
|
} from "@tamagui/core";
|
|
102
|
+
function LinearGradient(props) {
|
|
103
|
+
if (process.env.NODE_ENV === "development") {
|
|
104
|
+
console.warn(`LinearGradient has been moved to tamagui/linear-gradient as of 1.1`);
|
|
105
|
+
}
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
103
108
|
export {
|
|
104
109
|
FontLanguage,
|
|
110
|
+
LinearGradient,
|
|
105
111
|
Spacer,
|
|
106
112
|
Stack,
|
|
107
113
|
Text,
|
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/
|
|
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;
|
|
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;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css",
|
|
6
6
|
"*setup.js"
|
|
@@ -28,53 +28,59 @@
|
|
|
28
28
|
"exports": {
|
|
29
29
|
"./package.json": "./package.json",
|
|
30
30
|
".": {
|
|
31
|
+
"types": "./types/index.d.ts",
|
|
31
32
|
"import": "./dist/esm/index.js",
|
|
32
33
|
"require": "./dist/cjs/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./linear-gradient": {
|
|
36
|
+
"types": "./types/linear-gradient.d.ts",
|
|
37
|
+
"import": "./dist/esm/linear-gradient.js",
|
|
38
|
+
"require": "./dist/cjs/linear-gradient.js"
|
|
33
39
|
}
|
|
34
40
|
},
|
|
35
41
|
"dependencies": {
|
|
36
|
-
"@tamagui/adapt": "^1.0
|
|
37
|
-
"@tamagui/alert-dialog": "^1.0
|
|
38
|
-
"@tamagui/animate-presence": "^1.0
|
|
39
|
-
"@tamagui/avatar": "^1.0
|
|
40
|
-
"@tamagui/button": "^1.0
|
|
41
|
-
"@tamagui/card": "^1.0
|
|
42
|
-
"@tamagui/compose-refs": "^1.0
|
|
43
|
-
"@tamagui/core": "^1.0
|
|
44
|
-
"@tamagui/create-context": "^1.0
|
|
45
|
-
"@tamagui/dialog": "^1.0
|
|
46
|
-
"@tamagui/fake-react-native": "^1.0
|
|
47
|
-
"@tamagui/font-size": "^1.0
|
|
48
|
-
"@tamagui/get-button-sized": "^1.0
|
|
49
|
-
"@tamagui/get-font-sized": "^1.0
|
|
50
|
-
"@tamagui/get-size": "^1.0
|
|
51
|
-
"@tamagui/helpers": "^1.0
|
|
52
|
-
"@tamagui/helpers-tamagui": "^1.0
|
|
53
|
-
"@tamagui/image": "^1.0
|
|
54
|
-
"@tamagui/label": "^1.0
|
|
55
|
-
"@tamagui/linear-gradient": "^1.0
|
|
56
|
-
"@tamagui/list-item": "^1.0
|
|
57
|
-
"@tamagui/popover": "^1.0
|
|
58
|
-
"@tamagui/popper": "^1.0
|
|
59
|
-
"@tamagui/portal": "^1.0
|
|
60
|
-
"@tamagui/progress": "^1.0
|
|
61
|
-
"@tamagui/react-native-media-driver": "^1.0
|
|
62
|
-
"@tamagui/scroll-view": "^1.0
|
|
63
|
-
"@tamagui/select": "^1.0
|
|
64
|
-
"@tamagui/separator": "^1.0
|
|
65
|
-
"@tamagui/shapes": "^1.0
|
|
66
|
-
"@tamagui/sheet": "^1.0
|
|
67
|
-
"@tamagui/slider": "^1.0
|
|
68
|
-
"@tamagui/stacks": "^1.0
|
|
69
|
-
"@tamagui/switch": "^1.0
|
|
70
|
-
"@tamagui/text": "^1.0
|
|
71
|
-
"@tamagui/tooltip": "^1.0
|
|
72
|
-
"@tamagui/use-controllable-state": "^1.0
|
|
73
|
-
"@tamagui/use-debounce": "^1.0
|
|
74
|
-
"@tamagui/use-event": "^1.0
|
|
75
|
-
"@tamagui/use-force-update": "^1.0
|
|
76
|
-
"@tamagui/use-window-dimensions": "^1.0
|
|
77
|
-
"@tamagui/visually-hidden": "^1.0
|
|
42
|
+
"@tamagui/adapt": "^1.1.0",
|
|
43
|
+
"@tamagui/alert-dialog": "^1.1.0",
|
|
44
|
+
"@tamagui/animate-presence": "^1.1.0",
|
|
45
|
+
"@tamagui/avatar": "^1.1.0",
|
|
46
|
+
"@tamagui/button": "^1.1.0",
|
|
47
|
+
"@tamagui/card": "^1.1.0",
|
|
48
|
+
"@tamagui/compose-refs": "^1.1.0",
|
|
49
|
+
"@tamagui/core": "^1.1.0",
|
|
50
|
+
"@tamagui/create-context": "^1.1.0",
|
|
51
|
+
"@tamagui/dialog": "^1.1.0",
|
|
52
|
+
"@tamagui/fake-react-native": "^1.1.0",
|
|
53
|
+
"@tamagui/font-size": "^1.1.0",
|
|
54
|
+
"@tamagui/get-button-sized": "^1.1.0",
|
|
55
|
+
"@tamagui/get-font-sized": "^1.1.0",
|
|
56
|
+
"@tamagui/get-size": "^1.1.0",
|
|
57
|
+
"@tamagui/helpers": "^1.1.0",
|
|
58
|
+
"@tamagui/helpers-tamagui": "^1.1.0",
|
|
59
|
+
"@tamagui/image": "^1.1.0",
|
|
60
|
+
"@tamagui/label": "^1.1.0",
|
|
61
|
+
"@tamagui/linear-gradient": "^1.1.0",
|
|
62
|
+
"@tamagui/list-item": "^1.1.0",
|
|
63
|
+
"@tamagui/popover": "^1.1.0",
|
|
64
|
+
"@tamagui/popper": "^1.1.0",
|
|
65
|
+
"@tamagui/portal": "^1.1.0",
|
|
66
|
+
"@tamagui/progress": "^1.1.0",
|
|
67
|
+
"@tamagui/react-native-media-driver": "^1.1.0",
|
|
68
|
+
"@tamagui/scroll-view": "^1.1.0",
|
|
69
|
+
"@tamagui/select": "^1.1.0",
|
|
70
|
+
"@tamagui/separator": "^1.1.0",
|
|
71
|
+
"@tamagui/shapes": "^1.1.0",
|
|
72
|
+
"@tamagui/sheet": "^1.1.0",
|
|
73
|
+
"@tamagui/slider": "^1.1.0",
|
|
74
|
+
"@tamagui/stacks": "^1.1.0",
|
|
75
|
+
"@tamagui/switch": "^1.1.0",
|
|
76
|
+
"@tamagui/text": "^1.1.0",
|
|
77
|
+
"@tamagui/tooltip": "^1.1.0",
|
|
78
|
+
"@tamagui/use-controllable-state": "^1.1.0",
|
|
79
|
+
"@tamagui/use-debounce": "^1.1.0",
|
|
80
|
+
"@tamagui/use-event": "^1.1.0",
|
|
81
|
+
"@tamagui/use-force-update": "^1.1.0",
|
|
82
|
+
"@tamagui/use-window-dimensions": "^1.1.0",
|
|
83
|
+
"@tamagui/visually-hidden": "^1.1.0"
|
|
78
84
|
},
|
|
79
85
|
"peerDependencies": {
|
|
80
86
|
"react": "*",
|
|
@@ -82,7 +88,7 @@
|
|
|
82
88
|
"react-native-web": "*"
|
|
83
89
|
},
|
|
84
90
|
"devDependencies": {
|
|
85
|
-
"@tamagui/build": "^1.0
|
|
91
|
+
"@tamagui/build": "^1.1.0",
|
|
86
92
|
"@types/node": "^16.11.9",
|
|
87
93
|
"@types/react": "^18.0.15",
|
|
88
94
|
"react": "^18.2.0",
|
package/src/index.ts
CHANGED
|
@@ -13,7 +13,6 @@ export * from '@tamagui/font-size'
|
|
|
13
13
|
export * from '@tamagui/helpers-tamagui'
|
|
14
14
|
export * from '@tamagui/image'
|
|
15
15
|
export * from '@tamagui/label'
|
|
16
|
-
export * from '@tamagui/linear-gradient'
|
|
17
16
|
export * from '@tamagui/list-item'
|
|
18
17
|
export * from '@tamagui/popover'
|
|
19
18
|
export * from '@tamagui/popper'
|
|
@@ -171,3 +170,10 @@ export {
|
|
|
171
170
|
useThemeName,
|
|
172
171
|
useSafeRef,
|
|
173
172
|
} from '@tamagui/core'
|
|
173
|
+
|
|
174
|
+
export function LinearGradient(props: never) {
|
|
175
|
+
if (process.env.NODE_ENV === 'development') {
|
|
176
|
+
console.warn(`LinearGradient has been moved to tamagui/linear-gradient as of 1.1`)
|
|
177
|
+
}
|
|
178
|
+
return null
|
|
179
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@tamagui/linear-gradient'
|
package/types/index.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export * from '@tamagui/font-size';
|
|
|
12
12
|
export * from '@tamagui/helpers-tamagui';
|
|
13
13
|
export * from '@tamagui/image';
|
|
14
14
|
export * from '@tamagui/label';
|
|
15
|
-
export * from '@tamagui/linear-gradient';
|
|
16
15
|
export * from '@tamagui/list-item';
|
|
17
16
|
export * from '@tamagui/popover';
|
|
18
17
|
export * from '@tamagui/popper';
|
|
@@ -48,4 +47,5 @@ export * from './views/Spinner';
|
|
|
48
47
|
export * from './views/TextArea';
|
|
49
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';
|
|
50
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';
|
|
50
|
+
export declare function LinearGradient(props: never): null;
|
|
51
51
|
//# sourceMappingURL=index.d.ts.map
|