@backstage/core-components 0.7.4 → 0.7.5

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @backstage/core-components
2
2
 
3
+ ## 0.7.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 157530187a: Pin sidebar by default for easier navigation
8
+ - Updated dependencies
9
+ - @backstage/errors@0.1.5
10
+ - @backstage/core-plugin-api@0.2.1
11
+
3
12
  ## 0.7.4
4
13
 
5
14
  ### Patch Changes
package/dist/index.esm.js CHANGED
@@ -4265,9 +4265,9 @@ const LocalStorage = {
4265
4265
  getSidebarPinState() {
4266
4266
  let value;
4267
4267
  try {
4268
- value = JSON.parse(window.localStorage.getItem(LocalStorageKeys.SIDEBAR_PIN_STATE) || "false");
4268
+ value = JSON.parse(window.localStorage.getItem(LocalStorageKeys.SIDEBAR_PIN_STATE) || "true");
4269
4269
  } catch {
4270
- return false;
4270
+ return true;
4271
4271
  }
4272
4272
  return !!value;
4273
4273
  },
@@ -4285,7 +4285,7 @@ const useStyles$4 = makeStyles({
4285
4285
  }
4286
4286
  }, {name: "BackstageSidebarPage"});
4287
4287
  const SidebarPinStateContext = createContext({
4288
- isPinned: false,
4288
+ isPinned: true,
4289
4289
  toggleSidebarPinState: () => {
4290
4290
  }
4291
4291
  });