Socket
Socket
Sign inDemoInstall

@tamagui/core

Package Overview
Dependencies
Maintainers
1
Versions
1131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/core - npm Package Compare versions

Comparing version 1.0.0-alpha.12 to 1.0.0-alpha.13

2

dist/cjs/createTamagui.js

@@ -47,2 +47,3 @@ var __create = Object.create;

getThemeParentClassName: () => getThemeParentClassName,
getThemes: () => getThemes,
getTokens: () => getTokens,

@@ -60,2 +61,3 @@ onConfiguredOnce: () => onConfiguredOnce

const getTokens = /* @__PURE__ */ __name(() => conf.tokensParsed, "getTokens");
const getThemes = /* @__PURE__ */ __name(() => conf.themes, "getThemes");
const configListeners = new Set();

@@ -62,0 +64,0 @@ const onConfiguredOnce = /* @__PURE__ */ __name((cb) => {

2

dist/cjs/createVariable.js

@@ -38,3 +38,3 @@ var __create = Object.create;

toString() {
return import_platform.isWeb ? this.variable : this.val;
return `${import_platform.isWeb ? this.variable : this.val}`;
}

@@ -41,0 +41,0 @@ }

@@ -41,5 +41,5 @@ var __create = Object.create;

});
var import_helpers = __toModule(require("@tamagui/helpers"));
var import_platform = __toModule(require("../constants/platform"));
var import_createComponent = __toModule(require("../createComponent"));
var import_static = __toModule(require("../static"));
const ellipseStyle = {

@@ -85,3 +85,3 @@ maxWidth: "100%",

deoptProps: new Set(import_platform.isWeb ? [] : ["ellipse"]),
validStyles: __spreadValues(__spreadValues(__spreadValues({}, import_static.validStyles), import_static.stylePropsTextOnly), import_platform.isWeb && {
validStyles: __spreadValues(__spreadValues(__spreadValues({}, import_helpers.validStyles), import_helpers.stylePropsTextOnly), import_platform.isWeb && {
userSelect: true,

@@ -88,0 +88,0 @@ textOverflow: true,

@@ -12,2 +12,3 @@ var __defProp = Object.defineProperty;

const getTokens = /* @__PURE__ */ __name(() => conf.tokensParsed, "getTokens");
const getThemes = /* @__PURE__ */ __name(() => conf.themes, "getThemes");
const configListeners = new Set();

@@ -166,2 +167,3 @@ const onConfiguredOnce = /* @__PURE__ */ __name((cb) => {

getThemeParentClassName,
getThemes,
getTokens,

@@ -168,0 +170,0 @@ onConfiguredOnce

@@ -11,3 +11,3 @@ var __defProp = Object.defineProperty;

toString() {
return isWeb ? this.variable : this.val;
return `${isWeb ? this.variable : this.val}`;
}

@@ -14,0 +14,0 @@ }

@@ -0,4 +1,4 @@

import { stylePropsTextOnly, validStyles } from "@tamagui/helpers";
import { isWeb } from "../constants/platform";
import { createComponent } from "../createComponent";
import { stylePropsTextOnly, validStyles } from "../static";
const ellipseStyle = {

@@ -5,0 +5,0 @@ maxWidth: "100%",

@@ -12,2 +12,3 @@ var __defProp = Object.defineProperty;

const getTokens = /* @__PURE__ */ __name(() => conf.tokensParsed, "getTokens");
const getThemes = /* @__PURE__ */ __name(() => conf.themes, "getThemes");
const configListeners = new Set();

@@ -166,4 +167,5 @@ const onConfiguredOnce = /* @__PURE__ */ __name((cb) => {

getThemeParentClassName,
getThemes,
getTokens,
onConfiguredOnce
};

@@ -11,3 +11,3 @@ var __defProp = Object.defineProperty;

toString() {
return isWeb ? this.variable : this.val;
return `${isWeb ? this.variable : this.val}`;
}

@@ -14,0 +14,0 @@ }

@@ -0,4 +1,4 @@

import { stylePropsTextOnly, validStyles } from "@tamagui/helpers";
import { isWeb } from "../constants/platform";
import { createComponent } from "../createComponent";
import { stylePropsTextOnly, validStyles } from "../static";
const ellipseStyle = {

@@ -5,0 +5,0 @@ maxWidth: "100%",

{
"name": "@tamagui/core",
"version": "1.0.0-alpha.12",
"version": "1.0.0-alpha.13",
"source": "src/index.ts",

@@ -18,3 +18,3 @@ "main": "dist/cjs",

"dependencies": {
"@tamagui/helpers": "^1.0.0-alpha.12",
"@tamagui/helpers": "^1.0.0-alpha.13",
"@tamagui/ow": "^0.28.1",

@@ -41,3 +41,3 @@ "@tamagui/use-debounce": "^1.0.0-alpha.12",

},
"gitHead": "d50261a4e08d2212395af4f2d8f49555fc780c3e"
"gitHead": "5fa09073ac2c6bf529f0e81dd65db8b31682f360"
}

@@ -34,2 +34,3 @@ import { getStyleRules } from '@tamagui/helpers'

export const getTokens = () => conf!.tokensParsed
export const getThemes = () => conf!.themes

@@ -36,0 +37,0 @@ type ConfigListener = (conf: TamaguiInternalConfig) => void

@@ -16,3 +16,3 @@ import { isWeb } from './constants/platform'

toString() {
return isWeb ? this.variable : this.val
return `${isWeb ? this.variable : this.val}`
}

@@ -19,0 +19,0 @@ }

@@ -33,2 +33,18 @@ import { Variable } from './createVariable';

export declare const getTokens: () => import("./types").CreateTokens<Variable>;
export declare const getThemes: () => {
[key: string]: {
bg: string | Variable;
bg2: string | Variable;
bg3: string | Variable;
bg4: string | Variable;
color: string | Variable;
color2: string | Variable;
color3: string | Variable;
color4: string | Variable;
borderColor: string | Variable;
borderColor2: string | Variable;
shadowColor: string | Variable;
shadowColor2: string | Variable;
};
};
declare type ConfigListener = (conf: TamaguiInternalConfig) => void;

@@ -35,0 +51,0 @@ export declare const onConfiguredOnce: (cb: ConfigListener) => void;

@@ -6,3 +6,3 @@ export declare class Variable {

constructor({ val, name }: VariableIn);
toString(): string | number;
toString(): string;
}

@@ -9,0 +9,0 @@ declare type VariableIn = {

@@ -1,2 +0,1 @@

import { StyleObject } from '@tamagui/helpers';
import { MediaQueries } from '../types';

@@ -3,0 +2,0 @@ export declare const MEDIA_SEP = "_";

@@ -1,3 +0,2 @@

import { StyleObject } from '@tamagui/helpers';
export declare function getStylesAtomic(style: any, avoidCollection?: boolean): StyleObject[];
//# sourceMappingURL=getStylesAtomic.d.ts.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc