@tamagui/web
Advanced tools
Comparing version 1.108.3 to 1.108.4
@@ -141,2 +141,11 @@ var __defProp = Object.defineProperty; | ||
settings: { | ||
// move deprecated settings here so we can reference them all using `getSetting` | ||
// TODO remove this on v2 | ||
disableSSR: configIn.disableSSR, | ||
defaultFont: configIn.defaultFont, | ||
disableRootThemeClass: configIn.disableRootThemeClass, | ||
onlyAllowShorthands: configIn.onlyAllowShorthands, | ||
mediaQueryDefaultActive: configIn.mediaQueryDefaultActive, | ||
themeClassNameOnRoot: configIn.themeClassNameOnRoot, | ||
cssStyleSeparator: configIn.cssStyleSeparator, | ||
webContainerType: "inline-size", | ||
@@ -143,0 +152,0 @@ ...configIn.settings |
@@ -251,2 +251,11 @@ "use strict"; | ||
settings: _object_spread({ | ||
// move deprecated settings here so we can reference them all using `getSetting` | ||
// TODO remove this on v2 | ||
disableSSR: configIn.disableSSR, | ||
defaultFont: configIn.defaultFont, | ||
disableRootThemeClass: configIn.disableRootThemeClass, | ||
onlyAllowShorthands: configIn.onlyAllowShorthands, | ||
mediaQueryDefaultActive: configIn.mediaQueryDefaultActive, | ||
themeClassNameOnRoot: configIn.themeClassNameOnRoot, | ||
cssStyleSeparator: configIn.cssStyleSeparator, | ||
webContainerType: "inline-size" | ||
@@ -253,0 +262,0 @@ }, configIn.settings), |
@@ -29,3 +29,3 @@ var __create = Object.create; | ||
module.exports = __toCommonJS(useDidHydrateOnce_exports); | ||
var import_react = __toESM(require("react")); | ||
var import_react = __toESM(require("react")), import_config = require("../config"); | ||
function useDidHydrateOnceRoot() { | ||
@@ -36,3 +36,3 @@ return !0; | ||
function useDidHydrateOnce() { | ||
return useDidHydrateSync(); | ||
return (0, import_config.getSetting)("disableSSR") ? !0 : useDidHydrateSync(); | ||
} | ||
@@ -39,0 +39,0 @@ const emptySubscribe = () => () => { |
@@ -30,3 +30,3 @@ "use strict"; | ||
module.exports = __toCommonJS(useDidHydrateOnce_exports); | ||
var import_react = __toESM(require("react")); | ||
var import_react = __toESM(require("react")), import_config = require("../config"); | ||
function useDidHydrateOnceRoot() { | ||
@@ -33,0 +33,0 @@ return !0; |
@@ -136,2 +136,11 @@ import { isWeb } from "@tamagui/constants"; | ||
settings: { | ||
// move deprecated settings here so we can reference them all using `getSetting` | ||
// TODO remove this on v2 | ||
disableSSR: configIn.disableSSR, | ||
defaultFont: configIn.defaultFont, | ||
disableRootThemeClass: configIn.disableRootThemeClass, | ||
onlyAllowShorthands: configIn.onlyAllowShorthands, | ||
mediaQueryDefaultActive: configIn.mediaQueryDefaultActive, | ||
themeClassNameOnRoot: configIn.themeClassNameOnRoot, | ||
cssStyleSeparator: configIn.cssStyleSeparator, | ||
webContainerType: "inline-size", | ||
@@ -138,0 +147,0 @@ ...configIn.settings |
@@ -241,2 +241,11 @@ import { isWeb } from "@tamagui/constants"; | ||
settings: _object_spread({ | ||
// move deprecated settings here so we can reference them all using `getSetting` | ||
// TODO remove this on v2 | ||
disableSSR: configIn.disableSSR, | ||
defaultFont: configIn.defaultFont, | ||
disableRootThemeClass: configIn.disableRootThemeClass, | ||
onlyAllowShorthands: configIn.onlyAllowShorthands, | ||
mediaQueryDefaultActive: configIn.mediaQueryDefaultActive, | ||
themeClassNameOnRoot: configIn.themeClassNameOnRoot, | ||
cssStyleSeparator: configIn.cssStyleSeparator, | ||
webContainerType: "inline-size" | ||
@@ -243,0 +252,0 @@ }, configIn.settings), |
import React from "react"; | ||
import { getSetting } from "../config"; | ||
function useDidHydrateOnceRoot() { | ||
@@ -7,3 +8,3 @@ return !0; | ||
function useDidHydrateOnce() { | ||
return useDidHydrateSync(); | ||
return getSetting("disableSSR") ? !0 : useDidHydrateSync(); | ||
} | ||
@@ -10,0 +11,0 @@ const emptySubscribe = () => () => { |
import React from "react"; | ||
import { getSetting } from "../config"; | ||
function useDidHydrateOnceRoot() { | ||
@@ -3,0 +4,0 @@ return !0; |
{ | ||
"name": "@tamagui/web", | ||
"version": "1.108.3", | ||
"version": "1.108.4", | ||
"source": "src/index.ts", | ||
@@ -30,14 +30,14 @@ "main": "dist/cjs", | ||
"dependencies": { | ||
"@tamagui/compose-refs": "1.108.3", | ||
"@tamagui/constants": "1.108.3", | ||
"@tamagui/helpers": "1.108.3", | ||
"@tamagui/normalize-css-color": "1.108.3", | ||
"@tamagui/timer": "1.108.3", | ||
"@tamagui/types": "1.108.3", | ||
"@tamagui/use-did-finish-ssr": "1.108.3", | ||
"@tamagui/use-event": "1.108.3", | ||
"@tamagui/use-force-update": "1.108.3" | ||
"@tamagui/compose-refs": "1.108.4", | ||
"@tamagui/constants": "1.108.4", | ||
"@tamagui/helpers": "1.108.4", | ||
"@tamagui/normalize-css-color": "1.108.4", | ||
"@tamagui/timer": "1.108.4", | ||
"@tamagui/types": "1.108.4", | ||
"@tamagui/use-did-finish-ssr": "1.108.4", | ||
"@tamagui/use-event": "1.108.4", | ||
"@tamagui/use-force-update": "1.108.4" | ||
}, | ||
"devDependencies": { | ||
"@tamagui/build": "1.108.3", | ||
"@tamagui/build": "1.108.4", | ||
"@testing-library/react": "^16.0.0", | ||
@@ -44,0 +44,0 @@ "csstype": "^3.0.10", |
@@ -261,2 +261,12 @@ import { isWeb } from '@tamagui/constants' | ||
settings: { | ||
// move deprecated settings here so we can reference them all using `getSetting` | ||
// TODO remove this on v2 | ||
disableSSR: configIn.disableSSR, | ||
defaultFont: configIn.defaultFont, | ||
disableRootThemeClass: configIn.disableRootThemeClass, | ||
onlyAllowShorthands: configIn.onlyAllowShorthands, | ||
mediaQueryDefaultActive: configIn.mediaQueryDefaultActive, | ||
themeClassNameOnRoot: configIn.themeClassNameOnRoot, | ||
cssStyleSeparator: configIn.cssStyleSeparator, | ||
webContainerType: 'inline-size', | ||
@@ -263,0 +273,0 @@ ...configIn.settings, |
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
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
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
3099220
49097
+ Added@tamagui/compose-refs@1.108.4(transitive)
+ Added@tamagui/constants@1.108.4(transitive)
+ Added@tamagui/helpers@1.108.4(transitive)
+ Added@tamagui/normalize-css-color@1.108.4(transitive)
+ Added@tamagui/simple-hash@1.108.4(transitive)
+ Added@tamagui/timer@1.108.4(transitive)
+ Added@tamagui/types@1.108.4(transitive)
+ Added@tamagui/use-did-finish-ssr@1.108.4(transitive)
+ Added@tamagui/use-event@1.108.4(transitive)
+ Added@tamagui/use-force-update@1.108.4(transitive)
- Removed@tamagui/compose-refs@1.108.3(transitive)
- Removed@tamagui/constants@1.108.3(transitive)
- Removed@tamagui/helpers@1.108.3(transitive)
- Removed@tamagui/normalize-css-color@1.108.3(transitive)
- Removed@tamagui/simple-hash@1.108.3(transitive)
- Removed@tamagui/timer@1.108.3(transitive)
- Removed@tamagui/types@1.108.3(transitive)
- Removed@tamagui/use-did-finish-ssr@1.108.3(transitive)
- Removed@tamagui/use-event@1.108.3(transitive)
- Removed@tamagui/use-force-update@1.108.3(transitive)
Updated@tamagui/constants@1.108.4
Updated@tamagui/helpers@1.108.4
Updated@tamagui/timer@1.108.4
Updated@tamagui/types@1.108.4
Updated@tamagui/use-event@1.108.4