@planningcenter/topbar 8.3.3-rc.3 → 8.3.3

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 (88) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/dist/modules/api_request.d.ts +18 -0
  3. package/dist/modules/apps_provider.d.ts +30 -0
  4. package/dist/modules/avatar.d.ts +7 -0
  5. package/dist/modules/client_storage.d.ts +12 -0
  6. package/dist/modules/color_app_icon.d.ts +5 -0
  7. package/dist/modules/color_app_squircles.d.ts +14 -0
  8. package/dist/modules/components/apps_menu.d.ts +15 -0
  9. package/dist/modules/components/hoverable_list_item.d.ts +9 -0
  10. package/dist/modules/components/outsider.d.ts +13 -0
  11. package/dist/modules/components/popover_root.d.ts +6 -0
  12. package/dist/modules/components/popup.d.ts +9 -0
  13. package/dist/modules/connected_people_provider.d.ts +21 -0
  14. package/dist/modules/display_switch.d.ts +26 -0
  15. package/dist/modules/formatters.d.ts +15 -0
  16. package/dist/modules/get_apps_switch_product_path.d.ts +1 -0
  17. package/dist/modules/medium_topbar.d.ts +46 -0
  18. package/dist/modules/mono_app_icon.d.ts +7 -0
  19. package/dist/modules/mono_app_name.d.ts +6 -0
  20. package/dist/modules/mono_app_symbols.d.ts +57 -0
  21. package/dist/modules/mono_app_text.d.ts +61 -0
  22. package/dist/modules/not_small_topbar.d.ts +91 -0
  23. package/dist/modules/platform_announcements.d.ts +31 -0
  24. package/dist/modules/product_announcement.d.ts +20 -0
  25. package/dist/modules/small_topbar.d.ts +48 -0
  26. package/dist/modules/styled_root.d.ts +6 -0
  27. package/dist/modules/styles.d.ts +9 -0
  28. package/dist/modules/symbols.d.ts +16 -0
  29. package/dist/modules/unbutton.d.ts +11 -0
  30. package/dist/topbar.js +1 -1
  31. package/dist/topbar.js.map +1 -1
  32. package/dist/topbar.modern.css +2 -0
  33. package/dist/topbar.modern.css.map +1 -0
  34. package/dist/topbar.modern.js +1 -1
  35. package/dist/topbar.modern.js.map +1 -1
  36. package/dist/topbar.module.css +2 -0
  37. package/dist/topbar.module.css.map +1 -0
  38. package/dist/topbar.module.js +1 -1
  39. package/dist/topbar.module.js.map +1 -1
  40. package/dist/topbar.umd.js +1 -1
  41. package/dist/topbar.umd.js.map +1 -1
  42. package/dist/types/modules/medium_topbar.d.ts +39 -0
  43. package/dist/types/modules/medium_topbar.d.ts.map +1 -0
  44. package/dist/types/modules/not_small_topbar.d.ts.map +1 -1
  45. package/dist/types/modules/profile_container.d.ts +10 -0
  46. package/dist/types/modules/profile_container.d.ts.map +1 -0
  47. package/dist/types/modules/small_topbar/index.d.ts.map +1 -1
  48. package/dist/types/modules/small_topbar.d.ts.map +1 -1
  49. package/dist/types/modules/toolbar/hooks/use-toolbar-reducer.d.ts +20 -0
  50. package/dist/types/modules/toolbar/hooks/use-toolbar-reducer.d.ts.map +1 -0
  51. package/dist/types/modules/toolbar/index.d.ts.map +1 -1
  52. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/index.d.ts +4 -0
  53. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/index.d.ts.map +1 -0
  54. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/list.d.ts +4 -0
  55. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/list.d.ts.map +1 -0
  56. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_error_indicator.d.ts +2 -0
  57. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_error_indicator.d.ts.map +1 -0
  58. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_indicator.d.ts +2 -0
  59. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/loading_indicator.d.ts.map +1 -0
  60. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/preview.d.ts +9 -0
  61. package/dist/types/modules/toolbar/tools/messages/components/channel_list_view/preview.d.ts.map +1 -0
  62. package/dist/types/modules/toolbar/tools/messages/components/channel_view.d.ts +2 -0
  63. package/dist/types/modules/toolbar/tools/messages/components/channel_view.d.ts.map +1 -0
  64. package/dist/types/modules/toolbar/tools/messages/components/index.d.ts +6 -0
  65. package/dist/types/modules/toolbar/tools/messages/components/index.d.ts.map +1 -0
  66. package/dist/types/modules/toolbar/tools/messages/components/new_message_view.d.ts +2 -0
  67. package/dist/types/modules/toolbar/tools/messages/components/new_message_view.d.ts.map +1 -0
  68. package/dist/types/modules/toolbar/tools/messages/components/scroll_container.d.ts +9 -0
  69. package/dist/types/modules/toolbar/tools/messages/components/scroll_container.d.ts.map +1 -0
  70. package/dist/types/modules/toolbar/tools/messages/components/switch_view.d.ts +8 -0
  71. package/dist/types/modules/toolbar/tools/messages/components/switch_view.d.ts.map +1 -0
  72. package/dist/types/modules/toolbar/tools/messages/hooks/index.d.ts +3 -0
  73. package/dist/types/modules/toolbar/tools/messages/hooks/index.d.ts.map +1 -0
  74. package/dist/types/modules/toolbar/tools/messages/hooks/use_client.d.ts +6 -0
  75. package/dist/types/modules/toolbar/tools/messages/hooks/use_client.d.ts.map +1 -0
  76. package/dist/types/modules/toolbar/tools/messages/hooks/use_messages.d.ts +4 -0
  77. package/dist/types/modules/toolbar/tools/messages/hooks/use_messages.d.ts.map +1 -0
  78. package/dist/types/modules/toolbar/tools/messages/index.d.ts +5 -0
  79. package/dist/types/modules/toolbar/tools/messages/index.d.ts.map +1 -0
  80. package/dist/types/modules/toolbar/tools/messages/messages_context.d.ts +12 -0
  81. package/dist/types/modules/toolbar/tools/messages/messages_context.d.ts.map +1 -0
  82. package/dist/types/modules/toolbar/tools/profile.d.ts +7 -0
  83. package/dist/types/modules/toolbar/tools/profile.d.ts.map +1 -0
  84. package/dist/types/modules/toolbar/useStore.d.ts +3 -0
  85. package/dist/types/modules/toolbar/useStore.d.ts.map +1 -0
  86. package/package.json +1 -1
  87. package/dist/types/modules/small_topbar/user_profile_menu.d.ts +0 -18
  88. package/dist/types/modules/small_topbar/user_profile_menu.d.ts.map +0 -1
@@ -0,0 +1,39 @@
1
+ /// <reference types="react" />
2
+ import * as PCO_URL from "@planningcenter/url";
3
+ import { App } from "./interfaces";
4
+ declare const Topbar: {
5
+ (props: {
6
+ appName: string;
7
+ apps: App[];
8
+ colors: any;
9
+ connectedPeople: any;
10
+ env: PCO_URL.Environment;
11
+ linkToProfile?: boolean;
12
+ notifications?: any;
13
+ orgName: string;
14
+ requestAppsFetch: any;
15
+ requestClearAppsCache: any;
16
+ requestClearConnectedPeopleCache: any;
17
+ requestConnectedPeopleFetch: any;
18
+ requestSwitchConnectedPerson: any;
19
+ requestUnlinkConnectedPeople: any;
20
+ routes: any;
21
+ search?: any;
22
+ showOrgName?: boolean;
23
+ style?: any;
24
+ userAvatarPath: string;
25
+ userId: string;
26
+ userName: string;
27
+ }): JSX.Element;
28
+ defaultProps: {
29
+ currentRouteComponent: (props: any) => JSX.Element;
30
+ };
31
+ };
32
+ declare const Route: ({ active, style, name, ...props }: {
33
+ [x: string]: any;
34
+ active: any;
35
+ style: any;
36
+ name?: string;
37
+ }) => JSX.Element;
38
+ export { Route, Topbar };
39
+ //# sourceMappingURL=medium_topbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"medium_topbar.d.ts","sourceRoot":"","sources":["../../../modules/medium_topbar.tsx"],"names":[],"mappings":";AAAA,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAYtD,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AAQlC,QAAA,MAAM,MAAM;YAAW;QACrB,OAAO,EAAE,MAAM,CAAA;QACf,IAAI,EAAE,GAAG,EAAE,CAAA;QACX,MAAM,EAAE,GAAG,CAAA;QACX,eAAe,EAAE,GAAG,CAAA;QAEpB,GAAG,EAAE,QAAQ,WAAW,CAAA;QACxB,aAAa,CAAC,EAAE,OAAO,CAAA;QACvB,aAAa,CAAC,EAAE,GAAG,CAAA;QACnB,OAAO,EAAE,MAAM,CAAA;QACf,gBAAgB,EAAE,GAAG,CAAA;QACrB,qBAAqB,EAAE,GAAG,CAAA;QAC1B,gCAAgC,EAAE,GAAG,CAAA;QACrC,2BAA2B,EAAE,GAAG,CAAA;QAChC,4BAA4B,EAAE,GAAG,CAAA;QACjC,4BAA4B,EAAE,GAAG,CAAA;QACjC,MAAM,EAAE,GAAG,CAAA;QACX,MAAM,CAAC,EAAE,GAAG,CAAA;QACZ,WAAW,CAAC,EAAE,OAAO,CAAA;QACrB,KAAK,CAAC,EAAE,GAAG,CAAA;QACX,cAAc,EAAE,MAAM,CAAA;QACtB,MAAM,EAAE,MAAM,CAAA;QACd,QAAQ,EAAE,MAAM,CAAA;KACjB;;;;CAqYA,CAAA;AAMD,QAAA,MAAM,KAAK;;;;;iBAyBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"not_small_topbar.d.ts","sourceRoot":"","sources":["../../../modules/not_small_topbar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAe9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAShD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,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;;;;;;;;CAod7D,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":"not_small_topbar.d.ts","sourceRoot":"","sources":["../../../modules/not_small_topbar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAe9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAShD,UAAU,mBAAmB;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,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;;;;;;;;CAsd7D,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"}
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ interface ProfileContainerProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ component: React.ReactNode;
4
+ href: string;
5
+ linkToProfile: boolean;
6
+ onLinkToProfileClick?: (clickEvent: any) => any;
7
+ }
8
+ declare const ProfileContainer: ({ component, href, linkToProfile, onLinkToProfileClick, ...nativeProps }: ProfileContainerProps) => JSX.Element;
9
+ export default ProfileContainer;
10
+ //# sourceMappingURL=profile_container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile_container.d.ts","sourceRoot":"","sources":["../../../modules/profile_container.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,UAAU,qBAAsB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC1E,SAAS,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,OAAO,CAAA;IACtB,oBAAoB,CAAC,EAAE,CAAC,UAAU,KAAA,KAAK,GAAG,CAAA;CAC3C;AAED,QAAA,MAAM,gBAAgB,6EAMnB,qBAAqB,gBAUvB,CAAA;AAED,eAAe,gBAAgB,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;AAuCjD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAMD,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;CAke1D,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":"AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAsCjD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAED,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;CA+Y1D,CAAA;AAOD,QAAA,MAAM,KAAK;;;iBAmBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"small_topbar.d.ts","sourceRoot":"","sources":["../../../modules/small_topbar.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAqChD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAMD,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;CAkoB1D,CAAA;AAOD,QAAA,MAAM,KAAK;;;iBAmBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"small_topbar.d.ts","sourceRoot":"","sources":["../../../modules/small_topbar.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAqChD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAED,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;CA0nB1D,CAAA;AAOD,QAAA,MAAM,KAAK;;;iBAmBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
@@ -0,0 +1,20 @@
1
+ import * as React from "react";
2
+ declare enum ActionType {
3
+ close = "close",
4
+ mount = "mount",
5
+ open = "open",
6
+ set = "set",
7
+ unmount = "unmount"
8
+ }
9
+ declare type ToolbarState = {
10
+ currentContent: any;
11
+ mounted: boolean;
12
+ open: boolean;
13
+ };
14
+ declare type ToolbarDispatch = {
15
+ payload?: any;
16
+ type: ActionType;
17
+ };
18
+ declare const useToolbarReducer: () => [ToolbarState, React.Dispatch<ToolbarDispatch>];
19
+ export { ActionType, useToolbarReducer };
20
+ //# sourceMappingURL=use-toolbar-reducer.d.ts.map
@@ -0,0 +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,uDAAgD,CAAA;AAEvE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AASA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAKzD,OAAO,gBAAgB,MAAM,4BAA4B,CAAA;AAazD,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,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,oBAAoB,CAAA;AAExB,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,GAAG,EACH,cAAc,EACd,MAAM,EACN,QAAQ,GACT,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAkK5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AASA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAKzD,OAAO,gBAAgB,MAAM,4BAA4B,CAAA;AAazD,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,cAAc,EAAE,MAAM,CAAA;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,oBAAoB,CAAA;AAExB,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,GAAG,EACH,cAAc,EACd,MAAM,EACN,QAAQ,GACT,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAiK5B"}
@@ -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":"AASA,eAAO,MAAM,eAAe;;iBAgB3B,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;AAQ7D,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,2 @@
1
+ export declare const LoadingIndicator: () => JSX.Element;
2
+ //# sourceMappingURL=loading_indicator.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -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=channel_view.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,6 @@
1
+ export { ChannelListView } from "./channel_list_view";
2
+ export { ChannelView } from "./channel_view";
3
+ export { NewMessageView } from "./new_message_view";
4
+ export { ScrollContainer } from "./scroll_container";
5
+ export { SwitchView } from "./switch_view";
6
+ //# 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;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,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":"AAeA,eAAO,MAAM,cAAc,mBA8E1B,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/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"}
@@ -0,0 +1,8 @@
1
+ import React, { ReactNode } from "react";
2
+ interface SwitchViewProps {
3
+ activeIndex: number;
4
+ children: ReactNode;
5
+ }
6
+ declare const SwitchView: React.FC<SwitchViewProps>;
7
+ export { SwitchView };
8
+ //# sourceMappingURL=switch_view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/messages/components/switch_view.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,UAAU,eAAe;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuCzC,CAAA;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { useClient } from "./use_client";
2
+ export { useMessages } from "./use_messages";
3
+ //# 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,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,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;AA+DzC,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"}
@@ -0,0 +1,7 @@
1
+ declare const Profile: {
2
+ body: JSX.Element;
3
+ icon: string;
4
+ title: string;
5
+ };
6
+ export { Profile };
7
+ //# sourceMappingURL=profile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/profile.tsx"],"names":[],"mappings":"AAaA,QAAA,MAAM,OAAO;;;;CAIZ,CAAA;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const useStore: (selector?: (state: any) => any) => any;
2
+ export default useStore;
3
+ //# sourceMappingURL=useStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStore.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/useStore.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,QAAQ,yCAC2D,CAAA;AAEzE,eAAe,QAAQ,CAAA"}
package/package.json CHANGED
@@ -49,7 +49,7 @@
49
49
  "webpack-cli": "^4.9.1",
50
50
  "webpack-dev-server": "^4.4.0"
51
51
  },
52
- "version": "8.3.3-rc.3",
52
+ "version": "8.3.3",
53
53
  "peerDependencies": {
54
54
  "react": "^16.8.6"
55
55
  },
@@ -1,18 +0,0 @@
1
- import { Environment } from "@planningcenter/url";
2
- import { ConnectedPerson } from "../interfaces";
3
- export declare function UserProfileMenu({ appName, connectedPeople, env, linkToProfile, mfaConfigured, mfaEnabled, requestClearAppsCache, requestClearConnectedPeopleCache, requestSwitchConnectedPerson, requestUnlinkConnectedPeople, setUserMenuVisible, userAvatarPath, userId, }: {
4
- appName: string;
5
- connectedPeople: ConnectedPerson[];
6
- env: Environment;
7
- linkToProfile: boolean;
8
- mfaConfigured: boolean;
9
- mfaEnabled: boolean;
10
- requestClearAppsCache: any;
11
- requestClearConnectedPeopleCache: any;
12
- requestSwitchConnectedPerson: any;
13
- requestUnlinkConnectedPeople: any;
14
- setUserMenuVisible: any;
15
- userAvatarPath: string;
16
- userId: string;
17
- }): JSX.Element;
18
- //# sourceMappingURL=user_profile_menu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user_profile_menu.d.ts","sourceRoot":"","sources":["../../../../modules/small_topbar/user_profile_menu.tsx"],"names":[],"mappings":"AASA,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,GACP,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;CACf,eAqHA"}