@tamagui/theme 1.52.6 → 1.52.8

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.
@@ -115,7 +115,7 @@ function updateThemeConfig(themeName, theme) {
115
115
  function notifyThemeManagersOfUpdate(themeName, theme) {
116
116
  import_web.activeThemeManagers.forEach((manager) => {
117
117
  if (manager.state.name === themeName) {
118
- manager.updateState(
118
+ manager.updateStateFromProps(
119
119
  {
120
120
  name: themeName,
121
121
  forceTheme: theme
@@ -99,7 +99,7 @@ function updateThemeConfig(themeName, theme) {
99
99
  function notifyThemeManagersOfUpdate(themeName, theme) {
100
100
  activeThemeManagers.forEach((manager) => {
101
101
  if (manager.state.name === themeName) {
102
- manager.updateState(
102
+ manager.updateStateFromProps(
103
103
  {
104
104
  name: themeName,
105
105
  forceTheme: theme
@@ -99,7 +99,7 @@ function updateThemeConfig(themeName, theme) {
99
99
  function notifyThemeManagersOfUpdate(themeName, theme) {
100
100
  activeThemeManagers.forEach((manager) => {
101
101
  if (manager.state.name === themeName) {
102
- manager.updateState(
102
+ manager.updateStateFromProps(
103
103
  {
104
104
  name: themeName,
105
105
  forceTheme: theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/theme",
3
- "version": "1.52.6",
3
+ "version": "1.52.8",
4
4
  "sideEffects": false,
5
5
  "source": "src/index.ts",
6
6
  "types": "./types/index.d.ts",
@@ -17,14 +17,14 @@
17
17
  "watch": "tamagui-build --watch"
18
18
  },
19
19
  "dependencies": {
20
- "@tamagui/constants": "1.52.6",
21
- "@tamagui/web": "1.52.6"
20
+ "@tamagui/constants": "1.52.8",
21
+ "@tamagui/web": "1.52.8"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "*"
25
25
  },
26
26
  "devDependencies": {
27
- "@tamagui/build": "1.52.6",
27
+ "@tamagui/build": "1.52.8",
28
28
  "react": "^18.2.0"
29
29
  },
30
30
  "publishConfig": {
@@ -140,7 +140,7 @@ function updateThemeConfig(themeName: string, theme: ThemeParsed) {
140
140
  function notifyThemeManagersOfUpdate(themeName: string, theme: ThemeParsed) {
141
141
  activeThemeManagers.forEach((manager) => {
142
142
  if (manager.state.name === themeName) {
143
- manager.updateState(
143
+ manager.updateStateFromProps(
144
144
  {
145
145
  name: themeName,
146
146
  forceTheme: theme,