@planningcenter/topbar 9.5.0-rc.8 → 9.5.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.
- package/README.md +3 -3
- package/dist/topbar.css +10 -10
- package/dist/topbar.css.map +1 -1
- package/dist/topbar.js +1 -1
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +1 -1
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.js +1 -1
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +1 -1
- package/dist/topbar.umd.js.map +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/apps_provider.d.ts +1 -1
- package/dist/types/modules/apps_provider.d.ts.map +1 -1
- package/dist/types/modules/color_app_squircles.d.ts.map +1 -1
- package/dist/types/modules/colors.d.ts +1 -0
- package/dist/types/modules/colors.d.ts.map +1 -1
- package/dist/types/modules/hooks/jolt.d.ts +2 -1
- package/dist/types/modules/hooks/jolt.d.ts.map +1 -1
- package/dist/types/modules/hooks/use_notifications.d.ts +1 -1
- package/dist/types/modules/hooks/use_notifications.d.ts.map +1 -1
- package/dist/types/modules/hooks/use_notifications_has_unread.d.ts +2 -2
- package/dist/types/modules/hooks/use_notifications_has_unread.d.ts.map +1 -1
- package/dist/types/modules/not_small_topbar/user_menu.d.ts.map +1 -1
- package/dist/types/modules/small_topbar/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/components/index.d.ts +0 -1
- package/dist/types/modules/toolbar/components/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/components/user_profile.d.ts +1 -2
- package/dist/types/modules/toolbar/components/user_profile.d.ts.map +1 -1
- package/dist/types/modules/toolbar/index.d.ts +2 -3
- package/dist/types/modules/toolbar/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/chat_api_context.d.ts +1 -1
- package/dist/types/modules/toolbar/tools/chat/chat_api_context.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/chat_context.d.ts +18 -4
- package/dist/types/modules/toolbar/tools/chat/chat_context.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/groups.d.ts +2 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/groups.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_groups.d.ts +9 -4
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_groups.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_member_ability.d.ts +2 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_member_ability.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_members.d.ts +9 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/hooks/use_chat_members.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/people.d.ts +9 -3
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/people.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/title.d.ts +4 -3
- package/dist/types/modules/toolbar/tools/chat/components/channel_details_view/title.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/channel_list_blank_state.d.ts +2 -0
- package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/channel_list_blank_state.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_list_view/list.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_metas.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_reaction_selector.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_view/custom_reactions_list.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/channel_view/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/child_notice.d.ts +5 -0
- package/dist/types/modules/toolbar/tools/chat/components/child_notice.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/components/index.d.ts +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/person_list_item/avatar.d.ts +7 -0
- package/dist/types/modules/toolbar/tools/chat/components/person_list_item/avatar.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/components/person_list_item/index.d.ts +3 -0
- package/dist/types/modules/toolbar/tools/chat/components/person_list_item/index.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/components/person_list_item/person.d.ts +8 -0
- package/dist/types/modules/toolbar/tools/chat/components/person_list_item/person.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_chat_people.d.ts +11 -4
- package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_chat_people.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_services_chat_filter.d.ts +2 -2
- package/dist/types/modules/toolbar/tools/chat/components/services/hooks/use_team_options.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/services/people.d.ts +1 -2
- package/dist/types/modules/toolbar/tools/chat/components/services/people.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/services/people_blank_state.d.ts +2 -0
- package/dist/types/modules/toolbar/tools/chat/components/services/people_blank_state.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/components/services/teams.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/services/utils/index.d.ts +15 -2
- package/dist/types/modules/toolbar/tools/chat/components/services/utils/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/components/services_chat_options.d.ts +5 -0
- package/dist/types/modules/toolbar/tools/chat/components/services_chat_options.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/constants.d.ts +6 -0
- package/dist/types/modules/toolbar/tools/chat/constants.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/hooks/index.d.ts +1 -0
- package/dist/types/modules/toolbar/tools/chat/hooks/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat.d.ts +2 -3
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_api.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_app_grants.d.ts +7 -0
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_app_grants.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_stream_user.d.ts +2 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/use_chat_stream_user.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/chat/hooks/use_client.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/index.d.ts +0 -1
- package/dist/types/modules/toolbar/tools/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/tasks.d.ts.map +1 -1
- package/package.json +2 -7
- package/dist/types/modules/toolbar/components/link.d.ts +0 -11
- package/dist/types/modules/toolbar/components/link.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/helpdesk/components/DocumentationSearch.d.ts +0 -4
- package/dist/types/modules/toolbar/tools/helpdesk/components/DocumentationSearch.d.ts.map +0 -1
- package/dist/types/modules/toolbar/tools/helpdesk/index.d.ts +0 -4
- package/dist/types/modules/toolbar/tools/helpdesk/index.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ If nothing is passed—or if a Promise is passed that resolves to `undefined
|
|
|
36
36
|
|
|
37
37
|
Topbar hooks into `pco-page-expired` and will `disconnect` when the session is invalidated (i.e. logged out in a different tab).
|
|
38
38
|
This occurs for `topbar`-created jolt instances as well as jolt instances provided to `topbar` via the `joltPromise` prop.
|
|
39
|
-
CSRF tokens are invalidated when the session is invalidated.
|
|
39
|
+
CSRF tokens are invalidated when the session is invalidated.
|
|
40
40
|
Non-GET APIv2 requests (i.e. auth/subscribe) require a valid CSRF token and will never succeed in that state.
|
|
41
41
|
|
|
42
42
|
#### Example
|
|
@@ -111,8 +111,8 @@ This may change depending on what app you're adding your yalc changes to.
|
|
|
111
111
|
The `jolt-client` library has the ability to log debug information to the console.
|
|
112
112
|
This functionality is configured when creating a client and is disabled by default.
|
|
113
113
|
If you are passing your own Jolt client object into Topbar via props, you can configure it as required before providing it to Topbar.
|
|
114
|
-
If you are relying on Topbar to create its own Jolt connection and would like to enable logging, pass `enableJoltLogging={true}` as a prop to whichever topbar
|
|
115
|
-
you are using (`
|
|
114
|
+
If you are relying on Topbar to create its own Jolt connection and would like to enable logging, pass `enableJoltLogging={true}` as a prop to whichever topbar components you are using
|
|
115
|
+
you are using (`AppsProvider`/`Tasks`/`Toolbar`).
|
|
116
116
|
|
|
117
117
|
## Toolbar
|
|
118
118
|
|