@tamagui/web
Advanced tools
Comparing version 1.90.11 to 1.90.12
@@ -568,3 +568,6 @@ var __defProp = Object.defineProperty; | ||
} | ||
const animatableDefaults = { | ||
const defaultColor = process.env.TAMAGUI_DEFAULT_COLOR || "rgba(0,0,0,0)", animatableDefaults = { | ||
...Object.fromEntries( | ||
Object.entries(import_helpers.tokenCategories.color).map(([k, v]) => [k, defaultColor]) | ||
), | ||
opacity: 1, | ||
@@ -571,0 +574,0 @@ scale: 1, |
@@ -651,3 +651,9 @@ "use strict"; | ||
}; | ||
var animatableDefaults = { | ||
var defaultColor = process.env.TAMAGUI_DEFAULT_COLOR || "rgba(0,0,0,0)", animatableDefaults = _object_spread_props(_object_spread({}, Object.fromEntries(Object.entries(import_helpers.tokenCategories.color).map(function(param) { | ||
var _param = _sliced_to_array(param, 2), k = _param[0], v = _param[1]; | ||
return [ | ||
k, | ||
defaultColor | ||
]; | ||
}))), { | ||
opacity: 1, | ||
@@ -661,3 +667,3 @@ scale: 1, | ||
borderRadius: 0 | ||
}, lowercaseHyphenate = function(match) { | ||
}), lowercaseHyphenate = function(match) { | ||
return "-".concat(match.toLowerCase()); | ||
@@ -664,0 +670,0 @@ }, hyphenate = function(str) { |
@@ -11,2 +11,3 @@ import { | ||
stylePropsTransform, | ||
tokenCategories, | ||
validPseudoKeys, | ||
@@ -593,3 +594,6 @@ validStyles | ||
} | ||
const animatableDefaults = { | ||
const defaultColor = process.env.TAMAGUI_DEFAULT_COLOR || "rgba(0,0,0,0)", animatableDefaults = { | ||
...Object.fromEntries( | ||
Object.entries(tokenCategories.color).map(([k, v]) => [k, defaultColor]) | ||
), | ||
opacity: 1, | ||
@@ -596,0 +600,0 @@ scale: 1, |
import { currentPlatform, isAndroid, isClient, isServer, isWeb, useIsomorphicLayoutEffect } from "@tamagui/constants"; | ||
import { stylePropsText, stylePropsTransform, validPseudoKeys, validStyles } from "@tamagui/helpers"; | ||
import { stylePropsText, stylePropsTransform, tokenCategories, validPseudoKeys, validStyles } from "@tamagui/helpers"; | ||
import { useInsertionEffect } from "react"; | ||
@@ -646,3 +646,9 @@ import { getConfig, getFont } from "../config"; | ||
}; | ||
var animatableDefaults = { | ||
var defaultColor = process.env.TAMAGUI_DEFAULT_COLOR || "rgba(0,0,0,0)", animatableDefaults = _object_spread_props(_object_spread({}, Object.fromEntries(Object.entries(tokenCategories.color).map(function(param) { | ||
var _param = _sliced_to_array(param, 2), k = _param[0], v = _param[1]; | ||
return [ | ||
k, | ||
defaultColor | ||
]; | ||
}))), { | ||
opacity: 1, | ||
@@ -656,3 +662,3 @@ scale: 1, | ||
borderRadius: 0 | ||
}, lowercaseHyphenate = function(match) { | ||
}), lowercaseHyphenate = function(match) { | ||
return "-".concat(match.toLowerCase()); | ||
@@ -659,0 +665,0 @@ }, hyphenate = function(str) { |
{ | ||
"name": "@tamagui/web", | ||
"version": "1.90.11", | ||
"version": "1.90.12", | ||
"source": "src/index.ts", | ||
@@ -30,11 +30,11 @@ "main": "dist/cjs", | ||
"dependencies": { | ||
"@tamagui/compose-refs": "1.90.11", | ||
"@tamagui/constants": "1.90.11", | ||
"@tamagui/helpers": "1.90.11", | ||
"@tamagui/normalize-css-color": "1.90.11", | ||
"@tamagui/timer": "1.90.11", | ||
"@tamagui/types": "1.90.11", | ||
"@tamagui/use-did-finish-ssr": "1.90.11", | ||
"@tamagui/use-event": "1.90.11", | ||
"@tamagui/use-force-update": "1.90.11", | ||
"@tamagui/compose-refs": "1.90.12", | ||
"@tamagui/constants": "1.90.12", | ||
"@tamagui/helpers": "1.90.12", | ||
"@tamagui/normalize-css-color": "1.90.12", | ||
"@tamagui/timer": "1.90.12", | ||
"@tamagui/types": "1.90.12", | ||
"@tamagui/use-did-finish-ssr": "1.90.12", | ||
"@tamagui/use-event": "1.90.12", | ||
"@tamagui/use-force-update": "1.90.12", | ||
"react": "^18.2.0", | ||
@@ -44,3 +44,3 @@ "react-dom": "^18.2.0" | ||
"devDependencies": { | ||
"@tamagui/build": "1.90.11", | ||
"@tamagui/build": "1.90.12", | ||
"@testing-library/react": "^14.0.0", | ||
@@ -47,0 +47,0 @@ "csstype": "^3.0.10", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2522845
43312
603
+ Added@tamagui/compose-refs@1.90.12(transitive)
+ Added@tamagui/constants@1.90.12(transitive)
+ Added@tamagui/helpers@1.90.12(transitive)
+ Added@tamagui/normalize-css-color@1.90.12(transitive)
+ Added@tamagui/simple-hash@1.90.12(transitive)
+ Added@tamagui/timer@1.90.12(transitive)
+ Added@tamagui/types@1.90.12(transitive)
+ Added@tamagui/use-did-finish-ssr@1.90.12(transitive)
+ Added@tamagui/use-event@1.90.12(transitive)
+ Added@tamagui/use-force-update@1.90.12(transitive)
- Removed@tamagui/compose-refs@1.90.11(transitive)
- Removed@tamagui/constants@1.90.11(transitive)
- Removed@tamagui/helpers@1.90.11(transitive)
- Removed@tamagui/normalize-css-color@1.90.11(transitive)
- Removed@tamagui/simple-hash@1.90.11(transitive)
- Removed@tamagui/timer@1.90.11(transitive)
- Removed@tamagui/types@1.90.11(transitive)
- Removed@tamagui/use-did-finish-ssr@1.90.11(transitive)
- Removed@tamagui/use-event@1.90.11(transitive)
- Removed@tamagui/use-force-update@1.90.11(transitive)
Updated@tamagui/constants@1.90.12
Updated@tamagui/helpers@1.90.12
Updated@tamagui/timer@1.90.12
Updated@tamagui/types@1.90.12
Updated@tamagui/use-event@1.90.12