@planningcenter/topbar 9.11.0 → 9.12.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) 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/toolbar/components/scroll_container.d.ts +10 -0
  12. package/dist/types/modules/toolbar/components/scroll_container.d.ts.map +1 -1
  13. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/groups.d.ts.map +1 -1
  14. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/index.d.ts.map +1 -1
  15. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/people.d.ts.map +1 -1
  16. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/settings.d.ts.map +1 -1
  17. package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/title.d.ts.map +1 -1
  18. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/linked_account_select.d.ts.map +1 -1
  19. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/preview.d.ts +2 -2
  20. package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/preview.d.ts.map +1 -1
  21. package/dist/types/modules/toolbar/tools/chat/components/channel_metas.d.ts.map +1 -1
  22. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_header.d.ts +10 -0
  23. package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_header.d.ts.map +1 -0
  24. package/dist/types/modules/toolbar/tools/chat/components/channel_view/hooks/use_message_list_scroll_shadows.d.ts +8 -0
  25. package/dist/types/modules/toolbar/tools/chat/components/channel_view/hooks/use_message_list_scroll_shadows.d.ts.map +1 -0
  26. package/dist/types/modules/toolbar/tools/chat/components/channel_view/index.d.ts.map +1 -1
  27. package/dist/types/modules/toolbar/tools/chat/components/channel_view/message_input.d.ts.map +1 -1
  28. package/dist/types/modules/toolbar/tools/chat/components/new_chat_view.d.ts.map +1 -1
  29. package/dist/types/modules/toolbar/tools/chat/components/person_list_item/avatar.d.ts +1 -1
  30. package/dist/types/modules/toolbar/tools/chat/components/person_list_item/avatar.d.ts.map +1 -1
  31. package/dist/types/modules/toolbar/tools/chat/components/person_list_item/person.d.ts.map +1 -1
  32. package/dist/types/modules/toolbar/tools/chat/components/services/people.d.ts.map +1 -1
  33. package/dist/types/modules/toolbar/tools/chat/components/services/services_chat_options_footer.d.ts.map +1 -1
  34. package/dist/types/modules/toolbar/tools/chat/hooks/index.d.ts +2 -0
  35. package/dist/types/modules/toolbar/tools/chat/hooks/index.d.ts.map +1 -1
  36. package/dist/types/modules/toolbar/tools/chat/hooks/use_channel_mute.d.ts +2 -0
  37. package/dist/types/modules/toolbar/tools/chat/hooks/use_channel_mute.d.ts.map +1 -0
  38. package/dist/types/modules/toolbar/tools/chat/hooks/use_channel_unread.d.ts +11 -0
  39. package/dist/types/modules/toolbar/tools/chat/hooks/use_channel_unread.d.ts.map +1 -0
  40. package/dist/types/modules/toolbar/tools/chat/utils/index.d.ts +1 -0
  41. package/dist/types/modules/toolbar/tools/chat/utils/index.d.ts.map +1 -1
  42. package/package.json +2 -2
@@ -1,5 +1,15 @@
1
1
  import { StackViewProps } from "@planningcenter/tapestry-react";
2
2
  import React from "react";
3
+ export declare const INDICATOR_STYLES: {
4
+ bottom: {
5
+ background: string;
6
+ bottom: number;
7
+ };
8
+ top: {
9
+ background: string;
10
+ top: number;
11
+ };
12
+ };
3
13
  type OmittedStackViewProps = Omit<StackViewProps, "innerRef" | "overflow" | "spacing">;
4
14
  interface ScrollContainerProps extends OmittedStackViewProps {
5
15
  children: React.ReactNode;
@@ -1 +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,CAyF1D,CAAA"}
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;AAK1D,eAAO,MAAM,gBAAgB;;;;;;;;;CAS5B,CAAA;AAED,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,CAyF1D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/groups.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,cAAc,EAEf,MAAM,yBAAyB,CAAA;AAsBhC,eAAO,MAAM,MAAM;YAA0B,cAAc;iBAY1D,CAAA"}
1
+ {"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/groups.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,cAAc,EAEf,MAAM,yBAAyB,CAAA;AAwBhC,eAAO,MAAM,MAAM;YAA0B,cAAc;iBAY1D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/index.tsx"],"names":[],"mappings":"AA8BA,eAAO,MAAM,kBAAkB,mBA6B9B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/index.tsx"],"names":[],"mappings":"AAgCA,eAAO,MAAM,kBAAkB,mBA6B9B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/people.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAGnD,UAAU,WAAW;IACnB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB;AAED,eAAO,MAAM,MAAM,eAAgB,WAAW,gBAY7C,CAAA"}
1
+ {"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/people.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAGnD,UAAU,WAAW;IACnB,MAAM,EAAE,QAAQ,EAAE,CAAA;CACnB;AAED,eAAO,MAAM,MAAM,eAAgB,WAAW,gBAc7C,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/settings.tsx"],"names":[],"mappings":"AAsGA,eAAO,MAAM,QAAQ;;;iBAKpB,CAAA"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/settings.tsx"],"names":[],"mappings":"AAoGA,eAAO,MAAM,QAAQ;;;iBAOpB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/title.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAM1C,eAAO,MAAM,KAAK;aAIP,OAAO;gBACJ,OAAO;iBA4BpB,CAAA"}
1
+ {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_details_view/title.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAM1C,eAAO,MAAM,KAAK;aAIP,OAAO;gBACJ,OAAO;iBA0BpB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"linked_account_select.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/linked_account_select.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAQjD,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,GAAG,EAAE,WAAW,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,mBAAmB,uCAI7B,wBAAwB,gBA4E1B,CAAA"}
1
+ {"version":3,"file":"linked_account_select.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/linked_account_select.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAQjD,KAAK,wBAAwB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,MAAM,CAAA;IACvB,GAAG,EAAE,WAAW,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,mBAAmB,uCAI7B,wBAAwB,gBA+E1B,CAAA"}
@@ -1,6 +1,6 @@
1
- export declare const Preview: ({ channel, latestMessage, setActiveChannel, unread, }: {
1
+ export declare const Preview: ({ channel, lastMessage, setActiveChannel, unread }: {
2
2
  channel: any;
3
- latestMessage: any;
3
+ lastMessage: any;
4
4
  setActiveChannel: any;
5
5
  unread: any;
6
6
  }) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/preview.tsx"],"names":[],"mappings":"AA0CA,eAAO,MAAM,OAAO;;;;;iBA4HnB,CAAA"}
1
+ {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/preview.tsx"],"names":[],"mappings":"AA0DA,eAAO,MAAM,OAAO;;;;;iBA2InB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"channel_metas.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/channel_metas.tsx"],"names":[],"mappings":"AA0DA,eAAO,MAAM,YAAY;;iBAcxB,CAAA"}
1
+ {"version":3,"file":"channel_metas.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/channel_metas.tsx"],"names":[],"mappings":"AAsFA,eAAO,MAAM,YAAY;;iBAYxB,CAAA"}
@@ -0,0 +1,10 @@
1
+ export declare const CustomHeader: ({ channel, closeDrawer, setOverflowBottom, setOverflowTop, switchToChannelDetailsView, switchToChannelListView, title, }: {
2
+ channel: any;
3
+ closeDrawer: any;
4
+ setOverflowBottom: any;
5
+ setOverflowTop: any;
6
+ switchToChannelDetailsView: any;
7
+ switchToChannelListView: any;
8
+ title: any;
9
+ }) => JSX.Element;
10
+ //# sourceMappingURL=custom_header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom_header.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/custom_header.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;;;;;;iBA4ExB,CAAA"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare const useMessageListScrollShadows: ({ setOverflowBottom, setOverflowTop, }: {
3
+ setOverflowBottom: any;
4
+ setOverflowTop: any;
5
+ }) => {
6
+ headerRef: import("react").MutableRefObject<any>;
7
+ };
8
+ //# sourceMappingURL=use_message_list_scroll_shadows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_message_list_scroll_shadows.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/toolbar/tools/chat/components/channel_view/hooks/use_message_list_scroll_shadows.ts"],"names":[],"mappings":";AAGA,eAAO,MAAM,2BAA2B;;;;;CAkDvC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/index.tsx"],"names":[],"mappings":"AAoBA,eAAO,MAAM,WAAW,mBAmGvB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/index.tsx"],"names":[],"mappings":"AAmBA,eAAO,MAAM,WAAW,mBA2FvB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"message_input.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/message_input.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,YAAY,mBA6FxB,CAAA"}
1
+ {"version":3,"file":"message_input.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_view/message_input.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,YAAY,mBA8FxB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"new_chat_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/new_chat_view.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW,mBAiBvB,CAAA"}
1
+ {"version":3,"file":"new_chat_view.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/components/new_chat_view.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,WAAW,mBA6BvB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { ListItemPerson } from "./person";
2
2
  declare const Avatar: ({ person, size, }: {
3
3
  person: ListItemPerson;
4
- size?: "sm" | "md";
4
+ size?: "sm" | "md" | "lg";
5
5
  }) => JSX.Element;
6
6
  export { Avatar };
7
7
  //# sourceMappingURL=avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/person_list_item/avatar.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAazC,QAAA,MAAM,MAAM;YAIF,cAAc;WACf,IAAI,GAAG,IAAI;iBAiBnB,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/person_list_item/avatar.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAczC,QAAA,MAAM,MAAM;YAIF,cAAc;WACf,IAAI,GAAG,IAAI,GAAG,IAAI;iBAiB1B,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"person.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/person_list_item/person.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAA;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAG1D,KAAK,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEvC,QAAA,MAAM,MAAM;YAA0B,cAAc;iBAGnD,CAAA;AAyCD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"person.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/person_list_item/person.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAA;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAG1D,KAAK,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEvC,QAAA,MAAM,MAAM;YAA0B,cAAc;iBAGnD,CAAA;AAuCD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/people.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM;;iBAyClB,CAAA"}
1
+ {"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/people.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,MAAM;;iBAmDlB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"services_chat_options_footer.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/services_chat_options_footer.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,yBAAyB;;;;iBA6CrC,CAAA"}
1
+ {"version":3,"file":"services_chat_options_footer.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/services/services_chat_options_footer.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,yBAAyB;;;;iBA2BrC,CAAA"}
@@ -1,4 +1,6 @@
1
+ export { useChannelMute } from "./use_channel_mute";
1
2
  export { useChannelsLoading } from "./use_channels_loading";
3
+ export { useChannelUnread } from "./use_channel_unread";
2
4
  export { useChat } from "./use_chat";
3
5
  export { useChatApi } from "./use_chat_api";
4
6
  export { useChatAppGrants } from "./use_chat_app_grants";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const useChannelMute: (channel: any) => any;
2
+ //# sourceMappingURL=use_channel_mute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_channel_mute.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_channel_mute.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,uBAgB1B,CAAA"}
@@ -0,0 +1,11 @@
1
+ import type { Channel } from "stream-chat";
2
+ interface ChannelUnread {
3
+ isUnread: boolean;
4
+ isUnreadable: boolean;
5
+ markRead: () => void;
6
+ markUnread: () => void;
7
+ unreadCount: number;
8
+ }
9
+ export declare const useChannelUnread: (channel: Channel, unread: number) => ChannelUnread;
10
+ export {};
11
+ //# sourceMappingURL=use_channel_unread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use_channel_unread.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/hooks/use_channel_unread.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAyB,MAAM,aAAa,CAAA;AASjE,UAAU,aAAa;IACrB,QAAQ,EAAE,OAAO,CAAA;IACjB,YAAY,EAAE,OAAO,CAAA;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,gBAAgB,YAClB,OAAO,UACR,MAAM,KACb,aA0CF,CAAA"}
@@ -1,2 +1,3 @@
1
1
  export declare const noop: () => void;
2
+ export declare const findLast: <T>(xs: T[], p: (x: T, i: number, xs: T[]) => boolean) => T;
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,YAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/chat/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,YAAY,CAAA;AAG7B,eAAO,MAAM,QAAQ,4BAEN,MAAM,cAAc,OAAO,MAOzC,CAAA"}
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "@churchcenter/datetime-fmt": "^1.3.2",
18
18
  "@emotion/cache": "^11.10.5",
19
19
  "@emotion/react": "^11.10.5",
20
- "@planningcenter/icons": "^15.7.0",
20
+ "@planningcenter/icons": "^15.12.0",
21
21
  "@planningcenter/jolt-client": "^2.1.0",
22
22
  "@planningcenter/url": "^2.7.0",
23
23
  "algoliasearch": "^4.20.0",
@@ -75,7 +75,7 @@
75
75
  "webpack-cli": "^4.9.1",
76
76
  "webpack-dev-server": "^4.4.0"
77
77
  },
78
- "version": "9.11.0",
78
+ "version": "9.12.0-rc.1",
79
79
  "peerDependencies": {
80
80
  "@planningcenter/add-ons": "^5",
81
81
  "@planningcenter/tapestry-react": "^4",