@planningcenter/topbar 9.0.0-rc.9 → 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 (50) 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/apps_provider.d.ts.map +1 -1
  12. package/dist/types/modules/connected_people_provider.d.ts +1 -1
  13. package/dist/types/modules/connected_people_provider.d.ts.map +1 -1
  14. package/dist/types/modules/not_small_topbar/index.d.ts.map +1 -1
  15. package/dist/types/modules/not_small_topbar/user_menu.d.ts +2 -1
  16. package/dist/types/modules/not_small_topbar/user_menu.d.ts.map +1 -1
  17. package/dist/types/modules/not_small_topbar/user_menu_trigger.d.ts.map +1 -1
  18. package/dist/types/modules/small_topbar/index.d.ts.map +1 -1
  19. package/dist/types/modules/small_topbar/user_profile_menu.d.ts +2 -1
  20. package/dist/types/modules/small_topbar/user_profile_menu.d.ts.map +1 -1
  21. package/dist/types/modules/theme.d.ts +2 -0
  22. package/dist/types/modules/theme.d.ts.map +1 -1
  23. package/dist/types/modules/toolbar/components/drawer.d.ts.map +1 -1
  24. package/dist/types/modules/toolbar/components/index.d.ts +1 -0
  25. package/dist/types/modules/toolbar/components/index.d.ts.map +1 -1
  26. package/dist/types/modules/toolbar/components/scroll_container.d.ts.map +1 -0
  27. package/dist/types/modules/toolbar/components/user_profile.d.ts.map +1 -1
  28. package/dist/types/modules/toolbar/index.d.ts +1 -2
  29. package/dist/types/modules/toolbar/index.d.ts.map +1 -1
  30. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/index.d.ts.map +1 -1
  31. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/list.d.ts.map +1 -1
  32. package/dist/types/modules/toolbar/tools/messages/components/{channel_view.d.ts → channel_view/index.d.ts} +1 -1
  33. package/dist/types/modules/toolbar/tools/messages/components/channel_view/index.d.ts.map +1 -0
  34. package/dist/types/modules/toolbar/tools/messages/components/channel_view/message_input.d.ts +2 -0
  35. package/dist/types/modules/toolbar/tools/messages/components/channel_view/message_input.d.ts.map +1 -0
  36. package/dist/types/modules/toolbar/tools/messages/components/index.d.ts +0 -1
  37. package/dist/types/modules/toolbar/tools/messages/components/index.d.ts.map +1 -1
  38. package/dist/types/modules/toolbar/tools/messages/components/new_message_view.d.ts.map +1 -1
  39. package/dist/types/modules/toolbar/tools/messages/hooks/index.d.ts +1 -0
  40. package/dist/types/modules/toolbar/tools/messages/hooks/index.d.ts.map +1 -1
  41. package/dist/types/modules/toolbar/tools/messages/hooks/use_channels_loading.d.ts +2 -0
  42. package/dist/types/modules/toolbar/tools/messages/hooks/use_channels_loading.d.ts.map +1 -0
  43. package/dist/types/modules/toolbar/tools/notifications.d.ts.map +1 -1
  44. package/dist/types/modules/toolbar/tools/tasks.d.ts.map +1 -1
  45. package/package.json +10 -7
  46. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_indicator.d.ts +0 -2
  47. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_indicator.d.ts.map +0 -1
  48. package/dist/types/modules/toolbar/tools/messages/components/channel_view.d.ts.map +0 -1
  49. package/dist/types/modules/toolbar/tools/messages/components/scroll_container.d.ts.map +0 -1
  50. /package/dist/types/modules/toolbar/{tools/messages/components → components}/scroll_container.d.ts +0 -0
@@ -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,2FAyEnB,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"}
@@ -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"}
@@ -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;AAQD,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,8 @@
1
1
  export declare const topbarTheme: {
2
2
  colors: any;
3
3
  icons: {
4
+ churchCenter: any;
5
+ general: any;
4
6
  people: any;
5
7
  toolbar: any;
6
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../modules/theme.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;;;;CAYvB,CAAA"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../modules/theme.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW;;;;;;;;;CAcvB,CAAA"}
@@ -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,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,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 @@
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,9 +6,8 @@ type ToolbarProps = {
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,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,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 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/index.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe;;iBAgB3B,CAAA"}
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"}
@@ -1 +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;AAQ7D,eAAO,MAAM,IAAI,UAAW,kBAAkB,yBAAyB,CAAC,gBAuCvE,CAAA"}
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"}
@@ -1,2 +1,2 @@
1
1
  export declare const ChannelView: () => JSX.Element;
2
- //# sourceMappingURL=channel_view.d.ts.map
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"}
@@ -1,5 +1,4 @@
1
1
  export { ChannelListView } from "./channel_list_view";
2
2
  export { ChannelView } from "./channel_view";
3
3
  export { NewMessageView } from "./new_message_view";
4
- export { ScrollContainer } from "./scroll_container";
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA"}
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"}
@@ -1 +1 @@
1
- {"version":3,"file":"new_message_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/components/new_message_view.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,cAAc,mBA8E1B,CAAA"}
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"}
@@ -1,3 +1,4 @@
1
+ export { useChannelsLoading } from "./use_channels_loading";
1
2
  export { useClient } from "./use_client";
2
3
  export { useMessages } from "./use_messages";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA"}
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"}
@@ -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,11 +13,14 @@
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",
22
25
  "stream-chat": "^8.4.1",
23
26
  "stream-chat-react": "^10.7.2",
@@ -26,7 +29,7 @@
26
29
  },
27
30
  "name": "@planningcenter/topbar",
28
31
  "devDependencies": {
29
- "@planningcenter/add-ons": ">=0.20.0 <2",
32
+ "@planningcenter/add-ons": "^1.2.1",
30
33
  "@types/jest": "^27.4.1",
31
34
  "@types/react": "^17.0.0",
32
35
  "@types/react-dom": "^17.0.0",
@@ -59,11 +62,11 @@
59
62
  "webpack-cli": "^4.9.1",
60
63
  "webpack-dev-server": "^4.4.0"
61
64
  },
62
- "version": "9.0.0-rc.9",
65
+ "version": "9.0.0",
63
66
  "peerDependencies": {
64
- "@planningcenter/add-ons": ">=0.20.0 <2",
65
- "@planningcenter/tapestry-react": "^2.6.0",
66
- "react": "^16.8.6"
67
+ "@planningcenter/add-ons": "^1.2.1",
68
+ "@planningcenter/tapestry-react": "^2.7.0",
69
+ "react": ">=16.8.0 <19"
67
70
  },
68
71
  "private": false,
69
72
  "repository": "https://github.com/planningcenter/topbar.git",
@@ -1,2 +0,0 @@
1
- export declare const LoadingIndicator: () => JSX.Element;
2
- //# sourceMappingURL=loading_indicator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loading_indicator.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/messages/components/channel_list_view/loading_indicator.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,mBAI5B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"channel_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/components/channel_view.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,mBAsCvB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"scroll_container.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/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"}