@ultraviolet/plus 0.20.3 → 0.20.4

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.
@@ -33,7 +33,7 @@ const NavigationContext = react.createContext({
33
33
  allowNavigationResize: true,
34
34
  setAllowNavigationResize: () => {
35
35
  },
36
- shouldAnimate: false
36
+ shouldAnimate: true
37
37
  });
38
38
  const useNavigation = () => react.useContext(NavigationContext);
39
39
  const NavigationProvider = ({
@@ -46,7 +46,7 @@ const NavigationProvider = ({
46
46
  onExpandChange,
47
47
  initialWidth = constants.NAVIGATION_WIDTH,
48
48
  initialAllowNavigationResize = true,
49
- animation: shouldAnimate = false
49
+ animation: shouldAnimate = true
50
50
  }) => {
51
51
  const [expanded, setExpanded] = react.useState(initialExpanded);
52
52
  const [pinnedItems, setPinnedItems] = react.useState(initialPinned ?? []);
@@ -31,7 +31,7 @@ const NavigationContext = createContext({
31
31
  allowNavigationResize: true,
32
32
  setAllowNavigationResize: () => {
33
33
  },
34
- shouldAnimate: false
34
+ shouldAnimate: true
35
35
  });
36
36
  const useNavigation = () => useContext(NavigationContext);
37
37
  const NavigationProvider = ({
@@ -44,7 +44,7 @@ const NavigationProvider = ({
44
44
  onExpandChange,
45
45
  initialWidth = NAVIGATION_WIDTH,
46
46
  initialAllowNavigationResize = true,
47
- animation: shouldAnimate = false
47
+ animation: shouldAnimate = true
48
48
  }) => {
49
49
  const [expanded, setExpanded] = useState(initialExpanded);
50
50
  const [pinnedItems, setPinnedItems] = useState(initialPinned ?? []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/plus",
3
- "version": "0.20.3",
3
+ "version": "0.20.4",
4
4
  "description": "Ultraviolet Plus",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -75,7 +75,7 @@
75
75
  "react-intersection-observer": "9.13.0",
76
76
  "@ultraviolet/icons": "2.14.0",
77
77
  "@ultraviolet/themes": "1.12.2",
78
- "@ultraviolet/ui": "1.63.0"
78
+ "@ultraviolet/ui": "1.64.0"
79
79
  },
80
80
  "scripts": {
81
81
  "prebuild": "shx rm -rf dist",