@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.
- package/dist/topbar.css +24 -184
- package/dist/topbar.css.map +1 -1
- package/dist/topbar.js +917 -955
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +918 -957
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.js +918 -957
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +919 -958
- package/dist/topbar.umd.js.map +1 -1
- package/dist/types/index.d.ts +12 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -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;
|