@planningcenter/topbar 8.3.1 → 8.3.2
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/CHANGELOG.md +32 -25
- package/README.md +11 -11
- 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/modules/hooks/use_notifications.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/index.d.ts +0 -10
- package/dist/modules/api_request.d.ts +0 -18
- package/dist/modules/apps_provider.d.ts +0 -30
- package/dist/modules/avatar.d.ts +0 -7
- package/dist/modules/client_storage.d.ts +0 -12
- package/dist/modules/color_app_icon.d.ts +0 -5
- package/dist/modules/color_app_squircles.d.ts +0 -14
- package/dist/modules/colors.d.ts +0 -46
- package/dist/modules/components/NotificationsMenuBlankState.d.ts +0 -12
- package/dist/modules/components/apps_button.d.ts +0 -10
- package/dist/modules/components/apps_menu.d.ts +0 -11
- package/dist/modules/components/conditional_wrap.d.ts +0 -7
- package/dist/modules/components/eyebrow.d.ts +0 -6
- package/dist/modules/components/hoverable.d.ts +0 -11
- package/dist/modules/components/hoverable_list_item.d.ts +0 -9
- package/dist/modules/components/notification_bell.d.ts +0 -6
- package/dist/modules/components/notification_item.d.ts +0 -11
- package/dist/modules/components/notifications_inbox.d.ts +0 -18
- package/dist/modules/components/notifications_menu.d.ts +0 -17
- package/dist/modules/components/notifications_menu_Wrapper.d.ts +0 -7
- package/dist/modules/components/notifications_menu_blank_state.d.ts +0 -8
- package/dist/modules/components/outsider.d.ts +0 -13
- package/dist/modules/components/popover_root.d.ts +0 -6
- package/dist/modules/components/popup.d.ts +0 -9
- package/dist/modules/components/popup_root.d.ts +0 -6
- package/dist/modules/components/spinner.d.ts +0 -4
- package/dist/modules/connected_people_provider.d.ts +0 -21
- package/dist/modules/display_switch.d.ts +0 -26
- package/dist/modules/dummy_data.d.ts +0 -3
- package/dist/modules/formatters.d.ts +0 -3
- package/dist/modules/get_apps_switch_product_path.d.ts +0 -1
- package/dist/modules/hooks/use_hover.d.ts +0 -3
- package/dist/modules/hooks/use_local_storage.d.ts +0 -10
- package/dist/modules/hooks/use_notifications.d.ts +0 -16
- package/dist/modules/hooks/use_topbar_api.d.ts +0 -8
- package/dist/modules/medium_topbar.d.ts +0 -46
- package/dist/modules/mono_app_icon.d.ts +0 -7
- package/dist/modules/mono_app_name.d.ts +0 -6
- package/dist/modules/mono_app_symbols.d.ts +0 -57
- package/dist/modules/mono_app_text.d.ts +0 -66
- package/dist/modules/not_small_topbar.d.ts +0 -91
- package/dist/modules/platform_announcements.d.ts +0 -31
- package/dist/modules/product_announcement.d.ts +0 -20
- package/dist/modules/small_topbar.d.ts +0 -48
- package/dist/modules/styled_root.d.ts +0 -6
- package/dist/modules/styles.d.ts +0 -9
- package/dist/modules/symbols.d.ts +0 -16
- package/dist/modules/topbar_context.d.ts +0 -5
- package/dist/modules/unbutton.d.ts +0 -11
- package/dist/topbar +0 -2
- package/dist/topbar.map +0 -1
- package/dist/topbar.modern.css +0 -2
- package/dist/topbar.modern.css.map +0 -1
- package/dist/topbar.module.css +0 -2
- package/dist/topbar.module.css.map +0 -1
- package/dist/types/modules/interfaces.d.ts +0 -55
- package/dist/types/modules/interfaces.d.ts.map +0 -1
- package/dist/types/modules/medium_topbar.d.ts +0 -39
- package/dist/types/modules/medium_topbar.d.ts.map +0 -1
- package/dist/types/modules/profile_container.d.ts +0 -10
- package/dist/types/modules/profile_container.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [8.3.2] - 2022-10-17
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Prevent disconnecting from Jolt when using a shared Jolt client.
|
|
13
|
+
|
|
8
14
|
## [8.3.1] - 2022-08-31
|
|
9
15
|
|
|
10
16
|
### Fixed
|
|
@@ -109,33 +115,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
109
115
|
|
|
110
116
|
### Fixed
|
|
111
117
|
|
|
112
|
-
- Bug z-stacking Safari bug that caused expanded `smalltopbar` items to show up behind elements [#46](https://github.com/
|
|
113
|
-
- Bug causing user settings to be hidden on mobile when Home wasn't enabled for the user [#47](https://github.com/
|
|
118
|
+
- Bug z-stacking Safari bug that caused expanded `smalltopbar` items to show up behind elements [#46](https://github.com/planningcenter/topbar/pull/46)
|
|
119
|
+
- Bug causing user settings to be hidden on mobile when Home wasn't enabled for the user [#47](https://github.com/planningcenter/topbar/pull/47)
|
|
114
120
|
|
|
115
121
|
## [7.2.0] - 2021-12-02
|
|
116
122
|
|
|
117
123
|
### Changed
|
|
118
124
|
|
|
119
|
-
- New look and feel for the app switcher ([#40](https://github.com/
|
|
125
|
+
- New look and feel for the app switcher ([#40](https://github.com/planningcenter/topbar/pull/40), [#42](https://github.com/planningcenter/topbar/pull/42)).
|
|
120
126
|
The switcher now displays Home at the top with some visual separation and Accounts (as "account") at the bottom—also with visual separation.
|
|
121
127
|
|
|
122
128
|
## [7.1.3] - 2021-11-16
|
|
123
129
|
|
|
124
130
|
### Fixed
|
|
125
131
|
|
|
126
|
-
- Corrected the sorting of app names in mobile topbar as well [#36](https://github.com/
|
|
132
|
+
- Corrected the sorting of app names in mobile topbar as well [#36](https://github.com/planningcenter/topbar/pull/36)
|
|
127
133
|
|
|
128
134
|
## [7.1.2] - 2021-11-11
|
|
129
135
|
|
|
130
136
|
### Fixed
|
|
131
137
|
|
|
132
|
-
- Corrected the corrected sorting of app names in app switcher [#33](https://github.com/
|
|
138
|
+
- Corrected the corrected sorting of app names in app switcher [#33](https://github.com/planningcenter/topbar/pull/33)
|
|
133
139
|
|
|
134
140
|
## [7.1.1] - 2021-11-10
|
|
135
141
|
|
|
136
142
|
### Fixed
|
|
137
143
|
|
|
138
|
-
- Corrected sorting of app names in app switcher [#32](https://github.com/
|
|
144
|
+
- Corrected sorting of app names in app switcher [#32](https://github.com/planningcenter/topbar/pull/32)
|
|
139
145
|
|
|
140
146
|
## [7.1.0] - 2021-11-08
|
|
141
147
|
|
|
@@ -146,8 +152,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
146
152
|
## [7.0.0] - 2021-10-01
|
|
147
153
|
|
|
148
154
|
- Add CSRF support to login ([#46](https://github.com/planningcenter/design/pull/46) @danielma)
|
|
149
|
-
- [First implementation in Accounts](https://github.com/
|
|
150
|
-
- [Second implementation in Giving](https://github.com/
|
|
155
|
+
- [First implementation in Accounts](https://github.com/planningcenter/accounts/pull/1877/files)
|
|
156
|
+
- [Second implementation in Giving](https://github.com/planningcenter/giving/pull/4482/files)
|
|
151
157
|
- Update devDependencies pins
|
|
152
158
|
- `microbundle`: `^0.12.4` => `^0.13.0`
|
|
153
159
|
- `webpack`: `^4.46.0` => `^5.13.0`
|
|
@@ -159,7 +165,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
159
165
|
- `@types/react`: `^16.14.2` => `^17.0.0`
|
|
160
166
|
- `@types/react-dom`: `^16.9.10` => `^17.0.0`
|
|
161
167
|
- Unlock modern builds by removing `--format cjs` flag for improved bundling app-side
|
|
162
|
-
- Add `referer` query parameter to `AppSwitch` urls: [Accounts PR](https://github.com/
|
|
168
|
+
- Add `referer` query parameter to `AppSwitch` urls: [Accounts PR](https://github.com/planningcenter/accounts/pull/1910)
|
|
163
169
|
- Add the ability to override the topbar’s link colors via props in `NotSmallTopbar` [#122](https://github.com/planningcenter/design/pull/122)
|
|
164
170
|
- Add `ProductAnnouncement` component
|
|
165
171
|
- Additional top-level exports:
|
|
@@ -191,20 +197,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
191
197
|
|
|
192
198
|
Versions entries to this changelog weren't tracked very well and were presented in a less organized style (more like a README or upgrade guide). If you are interested in that, you can read about the changes in [README-pre-4.9.0].
|
|
193
199
|
|
|
194
|
-
[8.3.
|
|
195
|
-
[8.3.
|
|
196
|
-
[8.
|
|
197
|
-
[8.2.
|
|
198
|
-
[8.2.
|
|
199
|
-
[8.
|
|
200
|
-
[8.1.
|
|
201
|
-
[8.0
|
|
202
|
-
[8.0.
|
|
203
|
-
[
|
|
204
|
-
[7.2.
|
|
205
|
-
[7.
|
|
206
|
-
[7.1.
|
|
207
|
-
[7.1.
|
|
208
|
-
[7.1.
|
|
209
|
-
[7.
|
|
200
|
+
[8.3.2]: https://github.com/planningcenter/topbar/compare/v8.3.1...v8.3.2
|
|
201
|
+
[8.3.1]: https://github.com/planningcenter/topbar/compare/v8.3.0...v8.3.1
|
|
202
|
+
[8.3.0]: https://github.com/planningcenter/topbar/compare/v8.2.2...v8.3.0
|
|
203
|
+
[8.2.2]: https://github.com/planningcenter/topbar/compare/v8.2.1...v8.2.2
|
|
204
|
+
[8.2.1]: https://github.com/planningcenter/topbar/compare/v8.2.0...v8.2.1
|
|
205
|
+
[8.2.0]: https://github.com/planningcenter/topbar/compare/v8.1.1...v8.2.0
|
|
206
|
+
[8.1.1]: https://github.com/planningcenter/topbar/compare/v8.1.0...v8.1.1
|
|
207
|
+
[8.1.0]: https://github.com/planningcenter/topbar/compare/v8.0.1...v8.1.0
|
|
208
|
+
[8.0.1]: https://github.com/planningcenter/topbar/compare/v8.0.0...v8.0.1
|
|
209
|
+
[8.0.0]: https://github.com/planningcenter/topbar/compare/v7.2.1...v8.0.0
|
|
210
|
+
[7.2.1]: https://github.com/planningcenter/topbar/compare/v7.2.0...v7.2.1
|
|
211
|
+
[7.2.0]: https://github.com/planningcenter/topbar/compare/v7.1.3...v7.2.0
|
|
212
|
+
[7.1.3]: https://github.com/planningcenter/topbar/compare/v7.1.2...v7.1.3
|
|
213
|
+
[7.1.2]: https://github.com/planningcenter/topbar/compare/v7.1.1...v7.1.2
|
|
214
|
+
[7.1.1]: https://github.com/planningcenter/topbar/compare/v7.1.0...v7.1.1
|
|
215
|
+
[7.1.0]: https://github.com/planningcenter/topbar/compare/v7.0.0...v7.1.0
|
|
216
|
+
[7.0.0]: https://github.com/planningcenter/topbar/compare/@planningcenter/topbar@6.0.6..v7.0.0
|
|
210
217
|
[previous entries]: CHANGELOG-pre-4.9.0.md
|
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ For a handful of reasons (not least of which is because we pay per Jolt connecti
|
|
|
31
31
|
**Note that this connection sharing is entirely optional for the parent app, but strongly encouraged.**
|
|
32
32
|
If a Jolt connection is not shared with topbar, it will gladly initiate its own connection specifically for its purposes.
|
|
33
33
|
|
|
34
|
-
To reuse your app's Jolt connection, topbar requires a Promise that resolves into a [Jolt client](https://github.com/
|
|
34
|
+
To reuse your app's Jolt connection, topbar requires a Promise that resolves into a [Jolt client](https://github.com/planningcenter/jolt-client/) connection.
|
|
35
35
|
If nothing is passed—or if a Promise is passed that resolves to `undefined` or `void`—topbar will initiate its own connection.
|
|
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).
|
|
@@ -137,13 +137,13 @@ If you like history, here are the initial release notes with technical considera
|
|
|
137
137
|
|
|
138
138
|
## Example product implementations
|
|
139
139
|
|
|
140
|
-
- [API](https://github.com/
|
|
141
|
-
- [Accounts](https://github.com/
|
|
142
|
-
- [Calendar](https://github.com/
|
|
143
|
-
- [Check-Ins](https://github.com/
|
|
144
|
-
- [Giving](https://github.com/
|
|
145
|
-
- [Groups](https://github.com/
|
|
146
|
-
- [People](https://github.com/
|
|
147
|
-
- [Publishing](https://github.com/
|
|
148
|
-
- [Registrations](https://github.com/
|
|
149
|
-
- [Services](https://github.com/
|
|
140
|
+
- [API](https://github.com/planningcenter/api/blob/master/app/javascript/components/api_topbar.jsx)
|
|
141
|
+
- [Accounts](https://github.com/planningcenter/accounts/blob/master/app/javascript/components/accounts_topbar.jsx)
|
|
142
|
+
- [Calendar](https://github.com/planningcenter/calendar/blob/master/app/javascript/components/CalendarTopbar.jsx)
|
|
143
|
+
- [Check-Ins](https://github.com/planningcenter/check-ins/blob/master/app/javascript/components/checkins_topbar.js)
|
|
144
|
+
- [Giving](https://github.com/planningcenter/giving/blob/master/app/javascript/application/components/giving_topbar.jsx)
|
|
145
|
+
- [Groups](https://github.com/planningcenter/groups/blob/master/app/javascript/application/components/groups_topbar.js)
|
|
146
|
+
- [People](https://github.com/planningcenter/people/blob/master/app/javascript/components/people_topbar.jsx)
|
|
147
|
+
- [Publishing](https://github.com/planningcenter/publishing/blob/master/app/javascript/src/PublishingTopbar.js)
|
|
148
|
+
- [Registrations](https://github.com/planningcenter/registrations/blob/master/app/javascript/components/registrations_topbar.jsx)
|
|
149
|
+
- [Services](https://github.com/planningcenter/services/blob/master/app/javascript/components/ServicesTopbar.js)
|