@commercetools-uikit/design-system 19.2.0 → 19.3.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.
@@ -623,7 +623,7 @@ const useTheme = function () {
623
623
 
624
624
  // TODO - make sure old and new theme return same value as new defaultThemeValue
625
625
  // At least for the remaining places that we still use this function
626
- const themedValue = react.useCallback((defaultThemeValue, _newThemeValue) => defaultThemeValue, []);
626
+ const themedValue = react.useCallback((_defaultThemeValue, newThemeValue) => newThemeValue, []);
627
627
 
628
628
  // If we use 'useLayoutEffect' here, we would be trying to read the
629
629
  // data attribute before it gets set from the effect in the ThemeProvider
@@ -653,7 +653,7 @@ const withThemeContext = WrappedComponent => {
653
653
  };
654
654
 
655
655
  // NOTE: This string will be replaced on build time with the package version.
656
- var version = "19.2.0";
656
+ var version = "19.3.0";
657
657
 
658
658
  exports.ThemeProvider = ThemeProvider;
659
659
  exports.customProperties = designTokens$1;
@@ -623,7 +623,7 @@ const useTheme = function () {
623
623
 
624
624
  // TODO - make sure old and new theme return same value as new defaultThemeValue
625
625
  // At least for the remaining places that we still use this function
626
- const themedValue = react.useCallback((defaultThemeValue, _newThemeValue) => defaultThemeValue, []);
626
+ const themedValue = react.useCallback((_defaultThemeValue, newThemeValue) => newThemeValue, []);
627
627
 
628
628
  // If we use 'useLayoutEffect' here, we would be trying to read the
629
629
  // data attribute before it gets set from the effect in the ThemeProvider
@@ -653,7 +653,7 @@ const withThemeContext = WrappedComponent => {
653
653
  };
654
654
 
655
655
  // NOTE: This string will be replaced on build time with the package version.
656
- var version = "19.2.0";
656
+ var version = "19.3.0";
657
657
 
658
658
  exports.ThemeProvider = ThemeProvider;
659
659
  exports.customProperties = designTokens$1;
@@ -598,7 +598,7 @@ const useTheme = function () {
598
598
 
599
599
  // TODO - make sure old and new theme return same value as new defaultThemeValue
600
600
  // At least for the remaining places that we still use this function
601
- const themedValue = useCallback((defaultThemeValue, _newThemeValue) => defaultThemeValue, []);
601
+ const themedValue = useCallback((_defaultThemeValue, newThemeValue) => newThemeValue, []);
602
602
 
603
603
  // If we use 'useLayoutEffect' here, we would be trying to read the
604
604
  // data attribute before it gets set from the effect in the ThemeProvider
@@ -628,6 +628,6 @@ const withThemeContext = WrappedComponent => {
628
628
  };
629
629
 
630
630
  // NOTE: This string will be replaced on build time with the package version.
631
- var version = "19.2.0";
631
+ var version = "19.3.0";
632
632
 
633
633
  export { ThemeProvider, designTokens$1 as customProperties, designTokens$1 as designTokens, themes, transformTokensToCssVarsReferences, transformTokensToCssVarsValues, useTheme, version, withThemeContext };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/design-system",
3
3
  "description": "Core package of the commercetools design system.",
4
- "version": "19.2.0",
4
+ "version": "19.3.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.20.13",
27
27
  "@babel/runtime-corejs3": "^7.20.13",
28
- "@commercetools-uikit/hooks": "19.2.0",
28
+ "@commercetools-uikit/hooks": "19.3.0",
29
29
  "@emotion/react": "^11.10.5",
30
30
  "lodash": "4.17.21",
31
31
  "prop-types": "15.8.1",