@planningcenter/topbar 9.0.0-rc.7 → 9.0.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.
Files changed (79) hide show
  1. package/dist/topbar.css +1 -1
  2. package/dist/topbar.css.map +1 -1
  3. package/dist/topbar.js +1 -1
  4. package/dist/topbar.js.map +1 -1
  5. package/dist/topbar.modern.js +1 -1
  6. package/dist/topbar.modern.js.map +1 -1
  7. package/dist/topbar.module.js +1 -1
  8. package/dist/topbar.module.js.map +1 -1
  9. package/dist/topbar.umd.js +1 -1
  10. package/dist/topbar.umd.js.map +1 -1
  11. package/dist/types/modules/api_request.d.ts +1 -1
  12. package/dist/types/modules/api_request.d.ts.map +1 -1
  13. package/dist/types/modules/apps_provider.d.ts.map +1 -1
  14. package/dist/types/modules/connected_people_provider.d.ts +1 -1
  15. package/dist/types/modules/connected_people_provider.d.ts.map +1 -1
  16. package/dist/types/modules/error_boundary.d.ts +4 -4
  17. package/dist/types/modules/error_boundary.d.ts.map +1 -1
  18. package/dist/types/modules/get_login_profile_path.d.ts +1 -1
  19. package/dist/types/modules/get_login_profile_path.d.ts.map +1 -1
  20. package/dist/types/modules/hooks/use_cross_frame_messaging.d.ts +1 -1
  21. package/dist/types/modules/hooks/use_cross_frame_messaging.d.ts.map +1 -1
  22. package/dist/types/modules/hooks/use_notifications.d.ts +1 -1
  23. package/dist/types/modules/hooks/use_notifications.d.ts.map +1 -1
  24. package/dist/types/modules/mfa_status.d.ts +1 -1
  25. package/dist/types/modules/mfa_status.d.ts.map +1 -1
  26. package/dist/types/modules/not_small_topbar/index.d.ts.map +1 -1
  27. package/dist/types/modules/not_small_topbar/user_menu.d.ts +2 -1
  28. package/dist/types/modules/not_small_topbar/user_menu.d.ts.map +1 -1
  29. package/dist/types/modules/not_small_topbar/user_menu_trigger.d.ts.map +1 -1
  30. package/dist/types/modules/small_topbar/index.d.ts +1 -0
  31. package/dist/types/modules/small_topbar/index.d.ts.map +1 -1
  32. package/dist/types/modules/small_topbar/user_profile_menu.d.ts +2 -1
  33. package/dist/types/modules/small_topbar/user_profile_menu.d.ts.map +1 -1
  34. package/dist/types/modules/theme.d.ts +3 -0
  35. package/dist/types/modules/theme.d.ts.map +1 -1
  36. package/dist/types/modules/toolbar/components/drawer.d.ts +1 -1
  37. package/dist/types/modules/toolbar/components/drawer.d.ts.map +1 -1
  38. package/dist/types/modules/toolbar/components/index.d.ts +1 -0
  39. package/dist/types/modules/toolbar/components/index.d.ts.map +1 -1
  40. package/dist/types/modules/toolbar/components/scroll_container.d.ts +9 -0
  41. package/dist/types/modules/toolbar/components/scroll_container.d.ts.map +1 -0
  42. package/dist/types/modules/toolbar/components/user_profile.d.ts.map +1 -1
  43. package/dist/types/modules/toolbar/hooks/use_toolbar_reducer.d.ts +2 -2
  44. package/dist/types/modules/toolbar/hooks/use_toolbar_reducer.d.ts.map +1 -1
  45. package/dist/types/modules/toolbar/index.d.ts +3 -4
  46. package/dist/types/modules/toolbar/index.d.ts.map +1 -1
  47. package/dist/types/modules/toolbar/tools/index.d.ts +1 -0
  48. package/dist/types/modules/toolbar/tools/index.d.ts.map +1 -1
  49. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/index.d.ts +4 -0
  50. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/index.d.ts.map +1 -0
  51. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/list.d.ts +4 -0
  52. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/list.d.ts.map +1 -0
  53. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_error_indicator.d.ts +2 -0
  54. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_error_indicator.d.ts.map +1 -0
  55. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/preview.d.ts +9 -0
  56. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/preview.d.ts.map +1 -0
  57. package/dist/types/modules/toolbar/tools/messages/components/channel_view/index.d.ts +2 -0
  58. package/dist/types/modules/toolbar/tools/messages/components/channel_view/index.d.ts.map +1 -0
  59. package/dist/types/modules/toolbar/tools/messages/components/channel_view/message_input.d.ts +2 -0
  60. package/dist/types/modules/toolbar/tools/messages/components/channel_view/message_input.d.ts.map +1 -0
  61. package/dist/types/modules/toolbar/tools/messages/components/index.d.ts +4 -0
  62. package/dist/types/modules/toolbar/tools/messages/components/index.d.ts.map +1 -0
  63. package/dist/types/modules/toolbar/tools/messages/components/new_message_view.d.ts +2 -0
  64. package/dist/types/modules/toolbar/tools/messages/components/new_message_view.d.ts.map +1 -0
  65. package/dist/types/modules/toolbar/tools/messages/hooks/index.d.ts +4 -0
  66. package/dist/types/modules/toolbar/tools/messages/hooks/index.d.ts.map +1 -0
  67. package/dist/types/modules/toolbar/tools/messages/hooks/use_channels_loading.d.ts +2 -0
  68. package/dist/types/modules/toolbar/tools/messages/hooks/use_channels_loading.d.ts.map +1 -0
  69. package/dist/types/modules/toolbar/tools/messages/hooks/use_client.d.ts +6 -0
  70. package/dist/types/modules/toolbar/tools/messages/hooks/use_client.d.ts.map +1 -0
  71. package/dist/types/modules/toolbar/tools/messages/hooks/use_messages.d.ts +4 -0
  72. package/dist/types/modules/toolbar/tools/messages/hooks/use_messages.d.ts.map +1 -0
  73. package/dist/types/modules/toolbar/tools/messages/index.d.ts +5 -0
  74. package/dist/types/modules/toolbar/tools/messages/index.d.ts.map +1 -0
  75. package/dist/types/modules/toolbar/tools/messages/messages_context.d.ts +12 -0
  76. package/dist/types/modules/toolbar/tools/messages/messages_context.d.ts.map +1 -0
  77. package/dist/types/modules/toolbar/tools/notifications.d.ts.map +1 -1
  78. package/dist/types/modules/toolbar/tools/tasks.d.ts.map +1 -1
  79. package/package.json +12 -7
@@ -1,4 +1,4 @@
1
- export declare type Fetch = typeof fetch;
1
+ export type Fetch = typeof fetch;
2
2
  export declare const defaultFetch: Fetch;
3
3
  export declare const railsCsrfFetch: Fetch;
4
4
  export default function apiRequest(fetch: Fetch, url: string, { method, data }?: {
@@ -1 +1 @@
1
- {"version":3,"file":"api_request.d.ts","sourceRoot":"","sources":["../../../modules/api_request.ts"],"names":[],"mappings":"AAAA,oBAAY,KAAK,GAAG,OAAO,KAAK,CAAA;AAEhC,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAA;AAYD,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,MAAM,EACX,EAAE,MAAc,EAAE,IAAW,EAAE;;;CAAK,GACnC,OAAO,CAAC;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,EAAE,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC,CA0BzD"}
1
+ {"version":3,"file":"api_request.d.ts","sourceRoot":"","sources":["../../../modules/api_request.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAA;AAEhC,eAAO,MAAM,YAAY,EAAE,KAE1B,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAA;AAYD,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,MAAM,EACX,EAAE,MAAc,EAAE,IAAW,EAAE;;;CAAK,GACnC,OAAO,CAAC;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,EAAE,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC,CA0BzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"apps_provider.d.ts","sourceRoot":"","sources":["../../../modules/apps_provider.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAGnE,eAAO,MAAM,YAAY,sEAOtB,iBAAiB,2FAoEnB,CAAA;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,iBAAiB,gCAE9C"}
1
+ {"version":3,"file":"apps_provider.d.ts","sourceRoot":"","sources":["../../../modules/apps_provider.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAGnE,eAAO,MAAM,YAAY,sEAOtB,iBAAiB,2FA+EnB,CAAA;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,iBAAiB,gCAE9C"}
@@ -2,6 +2,7 @@ import { Environment } from "@planningcenter/url";
2
2
  import React from "react";
3
3
  import { Fetch } from "./api_request";
4
4
  import { ConnectedPerson } from "./interfaces";
5
+ export declare function remove(): void;
5
6
  export declare class ConnectedPeopleProvider extends React.Component<{
6
7
  configuredFetch?: Fetch;
7
8
  env: Environment;
@@ -14,7 +15,6 @@ export declare class ConnectedPeopleProvider extends React.Component<{
14
15
  configuredFetch: typeof fetch;
15
16
  };
16
17
  fetch(): void;
17
- remove(): void;
18
18
  unlink(): void;
19
19
  switch(toId: string, returnPath: string): void;
20
20
  componentDidMount(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"connected_people_provider.d.ts","sourceRoot":"","sources":["../../../modules/connected_people_provider.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAmB,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,qBAAa,uBAAwB,SAAQ,KAAK,CAAC,SAAS,CAC1D;IACE,eAAe,CAAC,EAAE,KAAK,CAAA;IACvB,GAAG,EAAE,WAAW,CAAA;IAChB,MAAM,EAAE,CAAC,eAAe,EAAE,eAAe,EAAE,EAAE,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAC,OAAO,CAAA;CAC3E,EACD;IACE,eAAe,EAAE,eAAe,EAAE,CAAA;CACnC,CACF;gBACa,KAAK,EAAE,GAAG;IAQtB,OAAc,YAAY;;MAEzB;IAED,KAAK;IAoBL,MAAM;IAIN,MAAM;IAYN,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAoBvC,iBAAiB;IAUjB,MAAM;CAQP"}
1
+ {"version":3,"file":"connected_people_provider.d.ts","sourceRoot":"","sources":["../../../modules/connected_people_provider.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAmB,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAE9C,wBAAgB,MAAM,SAErB;AAED,qBAAa,uBAAwB,SAAQ,KAAK,CAAC,SAAS,CAC1D;IACE,eAAe,CAAC,EAAE,KAAK,CAAA;IACvB,GAAG,EAAE,WAAW,CAAA;IAChB,MAAM,EAAE,CAAC,eAAe,EAAE,eAAe,EAAE,EAAE,QAAQ,EAAE,GAAG,KAAK,GAAG,CAAC,OAAO,CAAA;CAC3E,EACD;IACE,eAAe,EAAE,eAAe,EAAE,CAAA;CACnC,CACF;gBACa,KAAK,EAAE,GAAG;IAQtB,OAAc,YAAY;;MAEzB;IAED,KAAK;IAoBL,MAAM;IAYN,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAoBvC,iBAAiB;IAUjB,MAAM;CAQP"}
@@ -4,16 +4,16 @@ declare const defaultProps: Readonly<{
4
4
  fallback: {};
5
5
  }>;
6
6
  declare const initialState: Readonly<{
7
- hasError: boolean;
7
+ hasError: false;
8
8
  }>;
9
- declare type Props = typeof defaultProps;
10
- declare type State = typeof initialState;
9
+ type Props = typeof defaultProps;
10
+ type State = typeof initialState;
11
11
  declare class ErrorBoundary extends Component<Props, State> {
12
12
  static readonly defaultProps: Readonly<{
13
13
  fallback: {};
14
14
  }>;
15
15
  readonly state: Readonly<{
16
- hasError: boolean;
16
+ hasError: false;
17
17
  }>;
18
18
  static getDerivedStateFromError(_error: unknown): {
19
19
  hasError: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"error_boundary.d.ts","sourceRoot":"","sources":["../../../modules/error_boundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,SAAuB,CAAA;AAEzD,QAAA,MAAM,YAAY;;EAA6C,CAAA;AAC/D,QAAA,MAAM,YAAY;;EAAqC,CAAA;AAEvD,aAAK,KAAK,GAAG,OAAO,YAAY,CAAA;AAChC,aAAK,KAAK,GAAG,OAAO,YAAY,CAAA;AAEhC,cAAM,aAAc,SAAQ,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,YAAY;;OAAe;IAC3C,QAAQ,CAAC,KAAK;;OAAe;IAE7B,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,OAAO;;;IAI/C,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS;IAW5D,MAAM;CAKP;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"error_boundary.d.ts","sourceRoot":"","sources":["../../../modules/error_boundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,SAAuB,CAAA;AAEzD,QAAA,MAAM,YAAY;;EAA6C,CAAA;AAC/D,QAAA,MAAM,YAAY;;EAAqC,CAAA;AAEvD,KAAK,KAAK,GAAG,OAAO,YAAY,CAAA;AAChC,KAAK,KAAK,GAAG,OAAO,YAAY,CAAA;AAEhC,cAAM,aAAc,SAAQ,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,YAAY;;OAAe;IAC3C,QAAQ,CAAC,KAAK;;OAAe;IAE7B,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,OAAO;;;IAI/C,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS;IAW5D,MAAM;CAKP;AAED,eAAe,aAAa,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Environment } from "@planningcenter/url";
2
- declare type props = {
2
+ type props = {
3
3
  appName: string;
4
4
  env: Environment;
5
5
  userId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"get_login_profile_path.d.ts","sourceRoot":"","sources":["../../../modules/get_login_profile_path.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEzD,aAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,WAAW,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,GAAG,EACH,OAAO,EACP,MAAM,GACP,EAAE,KAAK,GAAG,MAAM,CAUhB"}
1
+ {"version":3,"file":"get_login_profile_path.d.ts","sourceRoot":"","sources":["../../../modules/get_login_profile_path.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEzD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,WAAW,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,GAAG,EACH,OAAO,EACP,MAAM,GACP,EAAE,KAAK,GAAG,MAAM,CAUhB"}
@@ -1,5 +1,5 @@
1
1
  import * as PCO_URL from "@planningcenter/url";
2
- declare type HandlerFunc = (message: {
2
+ type HandlerFunc = (message: {
3
3
  data: object;
4
4
  }) => void;
5
5
  declare function useCrossFrameMessaging(env: PCO_URL.Environment, handler?: HandlerFunc): (message: object) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"use_cross_frame_messaging.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_cross_frame_messaging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAG9C,aAAK,WAAW,GAAG,CAAC,OAAO,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,KAAK,IAAI,CAAA;AAItD,iBAAS,sBAAsB,CAC7B,GAAG,EAAE,OAAO,CAAC,WAAW,EACxB,OAAO,GAAE,WAAgC,aAS7B,MAAM,UAcnB;AA+BD,eAAe,sBAAsB,CAAA"}
1
+ {"version":3,"file":"use_cross_frame_messaging.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_cross_frame_messaging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAG9C,KAAK,WAAW,GAAG,CAAC,OAAO,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,KAAK,IAAI,CAAA;AAItD,iBAAS,sBAAsB,CAC7B,GAAG,EAAE,OAAO,CAAC,WAAW,EACxB,OAAO,GAAE,WAAgC,aAS7B,MAAM,UAcnB;AA+BD,eAAe,sBAAsB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import Jolt from "@planningcenter/jolt-client";
2
2
  import * as PCO_URL from "@planningcenter/url";
3
3
  import { Notification } from "../interfaces";
4
- declare type UseNotificationsProps = {
4
+ type UseNotificationsProps = {
5
5
  enableJoltLogging?: boolean;
6
6
  enabled?: boolean;
7
7
  env: PCO_URL.Environment;
@@ -1 +1 @@
1
- {"version":3,"file":"use_notifications.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_notifications.ts"],"names":[],"mappings":"AAAA,OAAO,IAAkB,MAAM,6BAA6B,CAAA;AAC5D,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAItD,OAAO,EAGL,YAAY,EACb,MAAM,eAAe,CAAA;AAuKtB,aAAK,qBAAqB,GAAG;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC,CAAA;IACpD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,QAAA,MAAM,gBAAgB,0DAMnB,qBAAqB;yBACD,MAAM,GAAG;qCACG,YAAY,KAAK,QAAQ,GAAG,CAAC;qCAC7B,YAAY,KAAK,QAAQ,GAAG,CAAC;cACpD,OAAO;eACN,OAAO;UACZ,YAAY,EAAE;YACZ,YAAY,EAAE;iBACT,MAAM;CAoQpB,CAAA;AAED,eAAe,gBAAgB,CAAA"}
1
+ {"version":3,"file":"use_notifications.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_notifications.ts"],"names":[],"mappings":"AAAA,OAAO,IAAkB,MAAM,6BAA6B,CAAA;AAC5D,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAItD,OAAO,EAGL,YAAY,EACb,MAAM,eAAe,CAAA;AAuKtB,KAAK,qBAAqB,GAAG;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC,CAAA;IACpD,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,QAAA,MAAM,gBAAgB,0DAMnB,qBAAqB;yBACD,MAAM,GAAG;qCACG,YAAY,KAAK,QAAQ,GAAG,CAAC;qCAC7B,YAAY,KAAK,QAAQ,GAAG,CAAC;cACpD,OAAO;eACN,OAAO;UACZ,YAAY,EAAE;YACZ,YAAY,EAAE;iBACT,MAAM;CAoQpB,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,4 +1,4 @@
1
- declare type MFAStatusProps = {
1
+ type MFAStatusProps = {
2
2
  isActive: boolean;
3
3
  };
4
4
  declare const MFAStatus: ({ isActive }: MFAStatusProps) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"mfa_status.d.ts","sourceRoot":"","sources":["../../../modules/mfa_status.tsx"],"names":[],"mappings":"AAEA,aAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,QAAA,MAAM,SAAS,iBAAkB,cAAc,gBA2C9C,CAAA;AAED,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"mfa_status.d.ts","sourceRoot":"","sources":["../../../modules/mfa_status.tsx"],"names":[],"mappings":"AAEA,KAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,QAAA,MAAM,SAAS,iBAAkB,cAAc,gBA2C9C,CAAA;AAED,eAAe,SAAS,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAOjD,UAAU,mBAAmB;IAC3B,oBAAoB,CAAC,EAAE,MAAM,GAAG,CAAA;IAChC,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,QAAA,MAAM,MAAM;YAAW,mBAAmB,GAAG,iBAAiB;;;;;;;;CA6I7D,CAAA;AAUD,QAAA,MAAM,KAAK;YAMD,OAAO;cACL,MAAM,SAAS;YACjB,GAAG;WACJ,MAAM;YACL,MAAM;iBA0Cf,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAOjD,UAAU,mBAAmB;IAC3B,oBAAoB,CAAC,EAAE,MAAM,GAAG,CAAA;IAChC,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,QAAA,MAAM,MAAM;YAAW,mBAAmB,GAAG,iBAAiB;;;;;;;;CAgJ7D,CAAA;AAUD,QAAA,MAAM,KAAK;YAMD,OAAO;cACL,MAAM,SAAS;YACjB,GAAG;WACJ,MAAM;YACL,MAAM;iBA0Cf,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
@@ -4,6 +4,7 @@ interface UserMenuProps {
4
4
  appName: string;
5
5
  connectedPeople: ConnectedPerson[];
6
6
  env: PCO_URL.Environment;
7
+ hasConnectedPeople: boolean;
7
8
  linkToProfile: boolean;
8
9
  mfaConfigured: boolean;
9
10
  mfaEnabled: boolean;
@@ -18,6 +19,6 @@ interface UserMenuProps {
18
19
  userMenuVisible: boolean;
19
20
  userName: string;
20
21
  }
21
- export declare const UserMenu: ({ appName, connectedPeople, env, linkToProfile, mfaConfigured, mfaEnabled, orgName, requestClearAppsCache, requestClearConnectedPeopleCache, requestSwitchConnectedPerson, requestUnlinkConnectedPeople, setUserMenuVisible, toolbarEnabled, userId, userMenuVisible, userName, }: UserMenuProps) => JSX.Element;
22
+ export declare const UserMenu: ({ appName, connectedPeople, env, hasConnectedPeople, linkToProfile, mfaConfigured, mfaEnabled, orgName, requestClearAppsCache, requestClearConnectedPeopleCache, requestSwitchConnectedPerson, requestUnlinkConnectedPeople, setUserMenuVisible, toolbarEnabled, userId, userMenuVisible, userName, }: UserMenuProps) => JSX.Element;
22
23
  export {};
23
24
  //# sourceMappingURL=user_menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user_menu.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/user_menu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAS9C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAI/C,UAAU,aAAa;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,eAAe,EAAE,CAAA;IAClC,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,qBAAqB,EAAE,GAAG,CAAA;IAC1B,gCAAgC,EAAE,GAAG,CAAA;IACrC,4BAA4B,EAAE,GAAG,CAAA;IACjC,4BAA4B,EAAE,GAAG,CAAA;IACjC,kBAAkB,EAAE,QAAQ,CAAA;IAC5B,cAAc,EAAE,OAAO,CAAA;IACvB,MAAM,EAAE,MAAM,CAAA;IACd,eAAe,EAAE,OAAO,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,QAAQ,sRAiBlB,aAAa,gBAwRf,CAAA"}
1
+ {"version":3,"file":"user_menu.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/user_menu.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAU9C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAI/C,UAAU,aAAa;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,eAAe,EAAE,CAAA;IAClC,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,qBAAqB,EAAE,GAAG,CAAA;IAC1B,gCAAgC,EAAE,GAAG,CAAA;IACrC,4BAA4B,EAAE,GAAG,CAAA;IACjC,4BAA4B,EAAE,GAAG,CAAA;IACjC,kBAAkB,EAAE,QAAQ,CAAA;IAC5B,cAAc,EAAE,OAAO,CAAA;IACvB,MAAM,EAAE,MAAM,CAAA;IACd,eAAe,EAAE,OAAO,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,QAAQ,0SAkBlB,aAAa,gBA4Qf,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"user_menu_trigger.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/user_menu_trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAK9C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAI/C,UAAU,oBAAoB;IAC5B,MAAM,EAAE,GAAG,CAAA;IACX,eAAe,EAAE,eAAe,EAAE,CAAA;IAClC,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,2BAA2B,EAAE,GAAG,CAAA;IAChC,kBAAkB,EAAE,QAAQ,CAAA;IAC5B,WAAW,EAAE,OAAO,CAAA;IACpB,cAAc,EAAE,OAAO,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,eAAe,6IAUzB,oBAAoB,gBAiEtB,CAAA"}
1
+ {"version":3,"file":"user_menu_trigger.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/user_menu_trigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAK9C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAI/C,UAAU,oBAAoB;IAC5B,MAAM,EAAE,GAAG,CAAA;IACX,eAAe,EAAE,eAAe,EAAE,CAAA;IAClC,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,2BAA2B,EAAE,GAAG,CAAA;IAChC,kBAAkB,EAAE,QAAQ,CAAA;IAC5B,WAAW,EAAE,OAAO,CAAA;IACpB,cAAc,EAAE,OAAO,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,eAAe,6IAUzB,oBAAoB,gBAkEtB,CAAA"}
@@ -6,6 +6,7 @@ declare const Topbar: {
6
6
  (props: SharedTopbarProps & SmallTopbarProps): JSX.Element;
7
7
  defaultProps: {
8
8
  currentRouteComponent: (props: any) => JSX.Element;
9
+ linkToProfile: boolean;
9
10
  notifications: () => any;
10
11
  };
11
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/small_topbar/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAwCjD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAMD,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;CA0c1D,CAAA;AAOD,QAAA,MAAM,KAAK;;;iBAmBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/small_topbar/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAwCjD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAMD,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;;CA6c1D,CAAA;AAQD,QAAA,MAAM,KAAK;;;iBAmBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
@@ -1,9 +1,10 @@
1
1
  import { Environment } from "@planningcenter/url";
2
2
  import { ConnectedPerson } from "../interfaces";
3
- export declare function UserProfileMenu({ appName, connectedPeople, env, linkToProfile, mfaConfigured, mfaEnabled, requestClearAppsCache, requestClearConnectedPeopleCache, requestSwitchConnectedPerson, requestUnlinkConnectedPeople, setUserMenuVisible, userAvatarPath, userId, userName, }: {
3
+ export declare function UserProfileMenu({ appName, connectedPeople, env, hasConnectedPeople, linkToProfile, mfaConfigured, mfaEnabled, requestClearAppsCache, requestClearConnectedPeopleCache, requestSwitchConnectedPerson, requestUnlinkConnectedPeople, setUserMenuVisible, userAvatarPath, userId, userName, }: {
4
4
  appName: string;
5
5
  connectedPeople: ConnectedPerson[];
6
6
  env: Environment;
7
+ hasConnectedPeople: boolean;
7
8
  linkToProfile: boolean;
8
9
  mfaConfigured: boolean;
9
10
  mfaEnabled: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"user_profile_menu.d.ts","sourceRoot":"","sources":["../../../../modules/small_topbar/user_profile_menu.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAOjD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAI/C,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,eAAe,EACf,GAAG,EACH,aAAa,EACb,aAAa,EACb,UAAU,EACV,qBAAqB,EACrB,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,kBAAkB,EAClB,cAAc,EACd,MAAM,EACN,QAAQ,GACT,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,eAAe,EAAE,CAAA;IAClC,GAAG,EAAE,WAAW,CAAA;IAChB,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,qBAAqB,EAAE,GAAG,CAAA;IAC1B,gCAAgC,EAAE,GAAG,CAAA;IACrC,4BAA4B,EAAE,GAAG,CAAA;IACjC,4BAA4B,EAAE,GAAG,CAAA;IACjC,kBAAkB,EAAE,GAAG,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB,eAmIA"}
1
+ {"version":3,"file":"user_profile_menu.d.ts","sourceRoot":"","sources":["../../../../modules/small_topbar/user_profile_menu.tsx"],"names":[],"mappings":"AASA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAOzD,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAI/C,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,eAAe,EACf,GAAG,EACH,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,UAAU,EACV,qBAAqB,EACrB,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,kBAAkB,EAClB,cAAc,EACd,MAAM,EACN,QAAQ,GACT,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,eAAe,EAAE,CAAA;IAClC,GAAG,EAAE,WAAW,CAAA;IAChB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,aAAa,EAAE,OAAO,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;IACtB,UAAU,EAAE,OAAO,CAAA;IACnB,qBAAqB,EAAE,GAAG,CAAA;IAC1B,gCAAgC,EAAE,GAAG,CAAA;IACrC,4BAA4B,EAAE,GAAG,CAAA;IACjC,4BAA4B,EAAE,GAAG,CAAA;IACjC,kBAAkB,EAAE,GAAG,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB,eAmIA"}
@@ -1,6 +1,9 @@
1
1
  export declare const topbarTheme: {
2
2
  colors: any;
3
3
  icons: {
4
+ churchCenter: any;
5
+ general: any;
6
+ people: any;
4
7
  toolbar: any;
5
8
  };
6
9
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../modules/theme.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;CAWvB,CAAA"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../modules/theme.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW;;;;;;;;;CAcvB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- declare type DrawerProps = {
2
+ type DrawerProps = {
3
3
  bottom?: number | string;
4
4
  children: React.ReactNode;
5
5
  hasShadow?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/components/drawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,aAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;IACnD,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,CAAA;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,MAAe,EACf,QAAQ,EACR,SAAiB,EACjB,MAAe,EACf,EAAoB,EACpB,QAAoB,EACpB,QAAqB,EACrB,KAAc,GACf,EAAE,WAAW,eAYb"}
1
+ {"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/components/drawer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;IACnD,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,CAAA;IAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB,CAAA;AAED,wBAAgB,MAAM,CAAC,EACrB,MAAe,EACf,QAAQ,EACR,SAAiB,EACjB,MAAe,EACf,EAAoB,EACpB,QAAoB,EACpB,QAAqB,EACrB,KAAc,GACf,EAAE,WAAW,eAab"}
@@ -1,6 +1,7 @@
1
1
  export { Drawer } from "./drawer";
2
2
  export { DrawerHeader } from "./drawer_header";
3
3
  export { DrawerHeading } from "./drawer_heading";
4
+ export { ScrollContainer } from "./scroll_container";
4
5
  export { SwitchView } from "./switch_view";
5
6
  export { UserProfile } from "./user_profile";
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { StackViewProps } from "@planningcenter/tapestry-react";
2
+ import React from "react";
3
+ type OmittedStackViewProps = Omit<StackViewProps, "innerRef" | "overflow" | "spacing">;
4
+ interface ScrollContainerProps extends OmittedStackViewProps {
5
+ children: React.ReactNode;
6
+ }
7
+ export declare const ScrollContainer: React.FC<ScrollContainerProps>;
8
+ export {};
9
+ //# sourceMappingURL=scroll_container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll_container.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/components/scroll_container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC/E,OAAO,KAAsC,MAAM,OAAO,CAAA;AAgB1D,KAAK,qBAAqB,GAAG,IAAI,CAC/B,cAAc,EACd,UAAU,GAAG,UAAU,GAAG,SAAS,CAGpC,CAAA;AAED,UAAU,oBAAqB,SAAQ,qBAAqB;IAC1D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAGD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAwF1D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"user_profile.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/components/user_profile.tsx"],"names":[],"mappings":"AAgBA,UAAU,KAAK;IACb,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,aAAa,EAAE,OAAO,CAAA;IACtB,gBAAgB,EAAE,MAAM,CAAA;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,wBAAgB,WAAW,CAAC,EAC1B,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,QAAQ,EACR,cAAc,GACf,EAAE,KAAK,eA2FP"}
1
+ {"version":3,"file":"user_profile.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/components/user_profile.tsx"],"names":[],"mappings":"AAmBA,UAAU,KAAK;IACb,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,aAAa,EAAE,OAAO,CAAA;IACtB,gBAAgB,EAAE,MAAM,CAAA;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,wBAAgB,WAAW,CAAC,EAC1B,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,QAAQ,EACR,cAAc,GACf,EAAE,KAAK,eAqGP"}
@@ -6,12 +6,12 @@ declare enum ActionType {
6
6
  set = "set",
7
7
  unmount = "unmount"
8
8
  }
9
- declare type ToolbarState = {
9
+ type ToolbarState = {
10
10
  currentContent: any;
11
11
  mounted: boolean;
12
12
  open: boolean;
13
13
  };
14
- declare type ToolbarDispatch = {
14
+ type ToolbarDispatch = {
15
15
  payload?: any;
16
16
  type: ActionType;
17
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"use_toolbar_reducer.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/hooks/use_toolbar_reducer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,aAAK,UAAU;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAED,aAAK,YAAY,GAAG;IAClB,cAAc,EAAE,GAAG,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAED,aAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AA0BD,QAAA,MAAM,iBAAiB,eAAgB,QAAQ,YAAY,CAAC,oDACE,CAAA;AAE9D,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAA"}
1
+ {"version":3,"file":"use_toolbar_reducer.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/hooks/use_toolbar_reducer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,aAAK,UAAU;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAED,KAAK,YAAY,GAAG;IAClB,cAAc,EAAE,GAAG,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAED,KAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AA0BD,QAAA,MAAM,iBAAiB,eAAgB,QAAQ,YAAY,CAAC,oDACE,CAAA;AAE9D,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1,14 +1,13 @@
1
1
  import { Environment } from "@planningcenter/url";
2
2
  import useNotifications from "../hooks/use_notifications";
3
- declare type UseNotificationProps = Pick<Parameters<typeof useNotifications>["0"], "enableJoltLogging" | "joltPromise">;
4
- declare type ToolbarProps = {
3
+ type UseNotificationProps = Pick<Parameters<typeof useNotifications>["0"], "enableJoltLogging" | "joltPromise">;
4
+ type ToolbarProps = {
5
5
  appName: string;
6
6
  env: Environment;
7
7
  linkToProfile?: boolean;
8
8
  userAvatarPath: string;
9
- userId: string;
10
9
  userName: string;
11
10
  } & UseNotificationProps;
12
- export declare function Toolbar({ appName, env, linkToProfile, userAvatarPath, userId, userName, }: ToolbarProps): JSX.Element;
11
+ export declare function Toolbar({ appName, env, linkToProfile, userAvatarPath, userName, }: ToolbarProps): JSX.Element;
13
12
  export {};
14
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AAUA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAMzD,OAAO,gBAAgB,MAAM,4BAA4B,CAAA;AAczD,aAAK,oBAAoB,GAAG,IAAI,CAC9B,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,GAAG,CAAC,EACxC,mBAAmB,GAAG,aAAa,CACpC,CAAA;AAED,aAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,WAAW,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,oBAAoB,CAAA;AAiBxB,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,GAAG,EACH,aAAoB,EACpB,cAAc,EACd,MAAM,EACN,QAAQ,GACT,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAuR5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AAUA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAMzD,OAAO,gBAAgB,MAAM,4BAA4B,CAAA;AAazD,KAAK,oBAAoB,GAAG,IAAI,CAC9B,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC,GAAG,CAAC,EACxC,mBAAmB,GAAG,aAAa,CACpC,CAAA;AAED,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,WAAW,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,oBAAoB,CAAA;AAiBxB,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,GAAG,EACH,aAAoB,EACpB,cAAc,EACd,QAAQ,GACT,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CA4S5B"}
@@ -1,3 +1,4 @@
1
+ export { Messages } from "./messages";
1
2
  export { Notifications } from "./notifications";
2
3
  export { Tasks } from "./tasks";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA"}
@@ -0,0 +1,4 @@
1
+ export declare const ChannelListView: ({ closeDrawer }: {
2
+ closeDrawer: any;
3
+ }) => JSX.Element;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/index.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,eAAe;;iBA2B3B,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from "react";
2
+ import { ChannelListMessengerProps } from "stream-chat-react";
3
+ export declare const List: (props: PropsWithChildren<ChannelListMessengerProps>) => JSX.Element;
4
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/list.tsx"],"names":[],"mappings":"AACA,OAAc,EAAkB,iBAAiB,EAAa,MAAM,OAAO,CAAA;AAC3E,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAO7D,eAAO,MAAM,IAAI,UAAW,kBAAkB,yBAAyB,CAAC,gBAuCvE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const LoadingErrorIndicator: () => JSX.Element;
2
+ //# sourceMappingURL=loading_error_indicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loading_error_indicator.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/loading_error_indicator.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,mBAOjC,CAAA"}
@@ -0,0 +1,9 @@
1
+ export declare const Preview: ({ Avatar, channel, displayTitle, latestMessage, setActiveChannel, unread, }: {
2
+ Avatar: any;
3
+ channel: any;
4
+ displayTitle: any;
5
+ latestMessage: any;
6
+ setActiveChannel: any;
7
+ unread: any;
8
+ }) => JSX.Element;
9
+ //# sourceMappingURL=preview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/preview.tsx"],"names":[],"mappings":"AAuCA,eAAO,MAAM,OAAO;;;;;;;iBAiJnB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const ChannelView: () => JSX.Element;
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_view/index.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,WAAW,mBA0CvB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const MessageInput: () => JSX.Element;
2
+ //# sourceMappingURL=message_input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message_input.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_view/message_input.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,YAAY,mBA8FxB,CAAA"}
@@ -0,0 +1,4 @@
1
+ export { ChannelListView } from "./channel_list_view";
2
+ export { ChannelView } from "./channel_view";
3
+ export { NewMessageView } from "./new_message_view";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const NewMessageView: () => JSX.Element;
2
+ //# sourceMappingURL=new_message_view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new_message_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/components/new_message_view.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,cAAc,mBA8E1B,CAAA"}
@@ -0,0 +1,4 @@
1
+ export { useChannelsLoading } from "./use_channels_loading";
2
+ export { useClient } from "./use_client";
3
+ export { useMessages } from "./use_messages";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const useChannelsLoading: () => boolean;
2
+ //# sourceMappingURL=use_channels_loading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_channels_loading.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/hooks/use_channels_loading.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,QAAO,OAWrC,CAAA"}
@@ -0,0 +1,6 @@
1
+ export declare const useClient: ({ apiKey, userData, tokenOrProvider }: {
2
+ apiKey: any;
3
+ userData: any;
4
+ tokenOrProvider: any;
5
+ }) => any;
6
+ //# sourceMappingURL=use_client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_client.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/hooks/use_client.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;;SA2BrB,CAAA"}
@@ -0,0 +1,4 @@
1
+ export declare const useMessages: () => {
2
+ [key: string]: any;
3
+ };
4
+ //# sourceMappingURL=use_messages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_messages.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/hooks/use_messages.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;CAMvB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import "./style.css";
2
+ import { ToolbarTool } from "../../types";
3
+ declare const Messages: ToolbarTool;
4
+ export { Messages };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/messages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,aAAa,CAAA;AAMpB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AA0DzC,QAAA,MAAM,QAAQ,EAAE,WAOf,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -0,0 +1,12 @@
1
+ import React, { ReactNode } from "react";
2
+ type MessagesContextValue = {
3
+ [key: string]: any;
4
+ };
5
+ interface MessagesProviderProps {
6
+ children: ReactNode;
7
+ value?: MessagesContextValue;
8
+ }
9
+ declare const MessagesContext: React.Context<MessagesContextValue>;
10
+ declare const MessagesProvider: React.FC<MessagesProviderProps>;
11
+ export { MessagesContext, MessagesProvider };
12
+ //# sourceMappingURL=messages_context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages_context.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/messages/messages_context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,KAAK,oBAAoB,GAAG;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB,CAAA;AAED,UAAU,qBAAqB;IAC7B,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,oBAAoB,CAAA;CAC7B;AAED,QAAA,MAAM,eAAe,qCAAgD,CAAA;AAErE,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CASrD,CAAA;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/notifications.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAqLtC,QAAA,MAAM,aAAa,EAAE,WAOpB,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/notifications.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAyLtC,QAAA,MAAM,aAAa,EAAE,WAOpB,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/tasks.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAgEtC,QAAA,MAAM,KAAK,EAAE,WAOZ,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
1
+ {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/tasks.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAwEtC,QAAA,MAAM,KAAK,EAAE,WAOZ,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
package/package.json CHANGED
@@ -13,18 +13,23 @@
13
13
  "@churchcenter/datetime-fmt": "^1.3.2",
14
14
  "@emotion/cache": "^10.0.0",
15
15
  "@emotion/react": "^11.10.5",
16
- "@planningcenter/icons": "^14.13.0",
16
+ "@planningcenter/icons": "^14.18.1",
17
17
  "@planningcenter/jolt-client": "^1.3.1",
18
- "@planningcenter/tapestry-react": "^2.6.0",
18
+ "@planningcenter/tapestry-react": "^2.7.0",
19
19
  "@planningcenter/url": "^2.6.5",
20
+ "nanoid": "^4.0.2",
20
21
  "react-cool-dimensions": "^2.0.7",
22
+ "react-dropzone": "^14.2.3",
23
+ "react-file-utils": "^1.2.0",
21
24
  "react-transition-group": "^4.4.2",
25
+ "stream-chat": "^8.4.1",
26
+ "stream-chat-react": "^10.7.2",
22
27
  "tslint-config-prettier": "^1.18.0",
23
28
  "use-sync-external-store": "^1.2.0"
24
29
  },
25
30
  "name": "@planningcenter/topbar",
26
31
  "devDependencies": {
27
- "@planningcenter/add-ons": ">=0.16.0 <2",
32
+ "@planningcenter/add-ons": "^1.2.1",
28
33
  "@types/jest": "^27.4.1",
29
34
  "@types/react": "^17.0.0",
30
35
  "@types/react-dom": "^17.0.0",
@@ -57,11 +62,11 @@
57
62
  "webpack-cli": "^4.9.1",
58
63
  "webpack-dev-server": "^4.4.0"
59
64
  },
60
- "version": "9.0.0-rc.7",
65
+ "version": "9.0.0",
61
66
  "peerDependencies": {
62
- "@planningcenter/add-ons": ">=0.16.0 <2",
63
- "@planningcenter/tapestry-react": "^2.6.0",
64
- "react": "^16.8.6"
67
+ "@planningcenter/add-ons": "^1.2.1",
68
+ "@planningcenter/tapestry-react": "^2.7.0",
69
+ "react": ">=16.8.0 <19"
65
70
  },
66
71
  "private": false,
67
72
  "repository": "https://github.com/planningcenter/topbar.git",