@archbee/app-widget 1.1.30 → 1.1.32

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.
Files changed (2) hide show
  1. package/index.esm.js +2 -5
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -1218,7 +1218,7 @@ const initJsScripts = loadingStrategy => {
1218
1218
  const script = document.getElementsByTagName('script')[0];
1219
1219
  (_a = script === null || script === void 0 ? void 0 : script.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(scripttag, script);
1220
1220
  };
1221
- const createArchbeeWidget = (spaceId, jwt, shareableToken, loadingStrategy = 'lazy', bubble = 'invisible', bubblePlaceholder, anchor, hideNavbar = true) => {
1221
+ const createArchbeeWidget = (spaceId, jwt, shareableToken, loadingStrategy = 'lazy', bubble = 'invisible', bubblePlaceholder, anchor, hideNavbar) => {
1222
1222
  if (!window._archbee) {
1223
1223
  window._archbee = window._archbee || {
1224
1224
  queue: [],
@@ -1719,9 +1719,6 @@ const iterateProxy = (proxy, component) => {
1719
1719
  } else {
1720
1720
  window._archbee.widget.widgetType = 'docs';
1721
1721
  }
1722
- if (Object.keys(event).includes('hideNavbar')) {
1723
- window._archbee.widget.hideNavbar = event.hideNavbar;
1724
- }
1725
1722
  window.dispatchEvent(showWidgetEvent());
1726
1723
  }
1727
1724
  if (event.eventType === EVENT_TYPE_ENUM.hideWidget) {
@@ -1745,7 +1742,7 @@ const ArchbeeAppWidget = /*#__PURE__*/forwardRef((_a, ref) => {
1745
1742
  blockId,
1746
1743
  widgetType = 'docs',
1747
1744
  loadingStrategy = 'lazy',
1748
- hideNavbar = false,
1745
+ hideNavbar,
1749
1746
  onWidgetOpen,
1750
1747
  onWidgetClose,
1751
1748
  bubble,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archbee/app-widget",
3
- "version": "1.1.30",
3
+ "version": "1.1.32",
4
4
  "private": false,
5
5
  "license": "UNLICENSED",
6
6
  "author": {