@planningcenter/topbar 12.7.0 → 12.8.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.
@@ -274,6 +274,17 @@ type ToolbarProps = {
274
274
  */
275
275
  isPhoenix?: boolean;
276
276
  linkToProfile?: boolean;
277
+ /**
278
+ * False loads Helpdesk from helpdesk's own page in an iframe instead of its
279
+ * add-on. Defaults to true while the iframe rolls out.
280
+ */
281
+ mountLegacyHelpdesk?: boolean;
282
+ /**
283
+ * False loads Tasks from Home's page in an iframe instead of its add-on,
284
+ * and `onReceiveTasksWorker` isn't called. Defaults to true while the
285
+ * iframe rolls out.
286
+ */
287
+ mountLegacyTasks?: boolean;
277
288
  onReceiveTasksWorker?: (worker: Worker) => void;
278
289
  requestClearAppsCache?: any;
279
290
  userAvatarPath: string;
@@ -286,7 +297,7 @@ type ToolbarStoreData = {
286
297
  joltPromise: () => Promise<Jolt | void>;
287
298
  userId: string;
288
299
  };
289
- declare function Toolbar({ appName, autoMountTool, env, helpdeskConfig, linkToProfile, onReceiveTasksWorker, requestClearAppsCache, userAvatarPath, userName, _storeDataOverride, }: ToolbarProps): JSX.Element;
300
+ declare function Toolbar({ appName, autoMountTool, env, helpdeskConfig, linkToProfile, mountLegacyHelpdesk, mountLegacyTasks, onReceiveTasksWorker, requestClearAppsCache, userAvatarPath, userName, _storeDataOverride, }: ToolbarProps): JSX.Element;
290
301
 
291
302
  interface SwitchViewProps {
292
303
  activeIndex: number;
package/package.json CHANGED
@@ -85,7 +85,7 @@
85
85
  "browserslist": [
86
86
  "extends @planningcenter/browserslist-config"
87
87
  ],
88
- "version": "12.7.0",
88
+ "version": "12.8.0",
89
89
  "peerDependencies": {
90
90
  "@planningcenter/add-ons": "^7",
91
91
  "@planningcenter/tapestry": "^4.12.0",