25da58b4 Sidekick API gains surface availability checks, bar visibility control, and stricter open() handling for the mobile online store editor.
- sidekick.isSurfaceAvailable(surface) is a new method that reports whether the 'mobile-web-online-store-editor' surface is available.
- sidekick.open() now accepts an optional { surface: 'mobile-web-online-store-editor' } argument, returns a boolean for surface opens, and throws a TypeError for unsupported surface arguments.
- A new sidekick.setBarVisibility(value) method forwards bar visibility changes to the internal Sidekick API.
Files 11
+73 -38
8 modified