@planningcenter/topbar 10.20.5 → 11.0.1

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.
@@ -99,37 +99,6 @@ declare class StyledAnnouncement extends React__default.Component<{
99
99
  }
100
100
  declare function StyledDismissButton({ ...props }: any): JSX.Element;
101
101
 
102
- declare global {
103
- interface Window {
104
- Rails?: {
105
- csrfToken: () => string;
106
- };
107
- currentPerson?: {
108
- id: number;
109
- };
110
- notificationsDisabled?: boolean;
111
- openHelpdesk?: () => void;
112
- pcoPageExpired?: {
113
- currentPersonACID: string;
114
- };
115
- pendo?: {
116
- track: (event: string, properties: object) => void;
117
- };
118
- railsEnv?: PCO_URL.Environment;
119
- topbar?: {
120
- openHelpdesk?: () => void;
121
- openProfile?: () => void;
122
- routeInfo?: {
123
- currentApp: string;
124
- currentRoutes: {
125
- active: boolean;
126
- name: string;
127
- url?: string;
128
- }[];
129
- };
130
- };
131
- }
132
- }
133
102
  interface App {
134
103
  name: string;
135
104
  notifications_preferences_url?: string;
@@ -292,7 +261,6 @@ type ToolbarProps = {
292
261
  _storeDataOverride?: Partial<ToolbarStoreData>;
293
262
  appName: string;
294
263
  autoMountTool?: string;
295
- connectedPeople?: any[];
296
264
  env: Environment;
297
265
  helpdeskConfig?: HelpdeskConfig;
298
266
  /**
@@ -302,8 +270,6 @@ type ToolbarProps = {
302
270
  linkToProfile?: boolean;
303
271
  onReceiveTasksWorker?: (worker: Worker) => void;
304
272
  requestClearAppsCache?: any;
305
- requestSwitchConnectedPerson?: any;
306
- requestUnlinkConnectedPeople?: any;
307
273
  userAvatarPath: string;
308
274
  userName: string;
309
275
  };
@@ -314,7 +280,7 @@ type ToolbarStoreData = {
314
280
  joltPromise: () => Promise<Jolt | void>;
315
281
  userId: string;
316
282
  };
317
- declare function Toolbar({ appName, autoMountTool, connectedPeople, env, helpdeskConfig, linkToProfile, onReceiveTasksWorker, requestClearAppsCache, requestSwitchConnectedPerson, requestUnlinkConnectedPeople, userAvatarPath, userName, _storeDataOverride, }: ToolbarProps): JSX.Element;
283
+ declare function Toolbar({ appName, autoMountTool, env, helpdeskConfig, linkToProfile, onReceiveTasksWorker, requestClearAppsCache, userAvatarPath, userName, _storeDataOverride, }: ToolbarProps): JSX.Element;
318
284
 
319
285
  interface SwitchViewProps {
320
286
  activeIndex: number;
package/package.json CHANGED
@@ -93,7 +93,7 @@
93
93
  "browserslist": [
94
94
  "extends @planningcenter/browserslist-config"
95
95
  ],
96
- "version": "10.20.5",
96
+ "version": "11.0.1",
97
97
  "peerDependencies": {
98
98
  "@planningcenter/add-ons": "^6",
99
99
  "@planningcenter/tapestry-react": "^4",