@planningcenter/topbar 8.2.0-rc.3 → 8.2.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 (37) hide show
  1. package/dist/modules/api_request.d.ts +5 -0
  2. package/dist/modules/components/apps_menu.d.ts +6 -2
  3. package/dist/modules/components/conditional_wrap.d.ts +1 -1
  4. package/dist/modules/components/notifications_menu.d.ts +3 -1
  5. package/dist/modules/components/notifications_menu_blank_state.d.ts +1 -1
  6. package/dist/modules/components/{notifications_menu_Wrapper.d.ts → notifications_menu_wrapper.d.ts} +0 -0
  7. package/dist/modules/formatters.d.ts +13 -1
  8. package/dist/modules/hooks/use_notifications.d.ts +1 -2
  9. package/dist/modules/medium_topbar.d.ts +34 -38
  10. package/dist/modules/not_small_topbar.d.ts +39 -82
  11. package/dist/modules/small_topbar.d.ts +39 -42
  12. package/dist/modules/symbols.d.ts +34 -8
  13. package/dist/topbar.js +1 -1
  14. package/dist/topbar.js.map +1 -1
  15. package/dist/topbar.modern.js +1 -1
  16. package/dist/topbar.modern.js.map +1 -1
  17. package/dist/topbar.module.js +1 -1
  18. package/dist/topbar.module.js.map +1 -1
  19. package/dist/topbar.umd.js +1 -1
  20. package/dist/topbar.umd.js.map +1 -1
  21. package/dist/types/modules/dummy_data.d.ts +4 -0
  22. package/dist/types/modules/dummy_data.d.ts.map +1 -0
  23. package/dist/types/modules/hooks/use_local_notifications.d.ts +9 -0
  24. package/dist/types/modules/hooks/use_local_notifications.d.ts.map +1 -0
  25. package/dist/types/modules/small_topbar.d.ts.map +1 -1
  26. package/package.json +1 -1
  27. package/CHANGELOG.md +0 -167
  28. package/dist/modules/components/NotificationsMenuBlankState.d.ts +0 -12
  29. package/dist/modules/components/notifications_inbox.d.ts +0 -18
  30. package/dist/modules/dummy_data.d.ts +0 -3
  31. package/dist/modules/hooks/use_local_storage.d.ts +0 -10
  32. package/dist/modules/hooks/use_topbar_api.d.ts +0 -8
  33. package/dist/modules/topbar_context.d.ts +0 -5
  34. package/dist/topbar +0 -2
  35. package/dist/topbar.map +0 -1
  36. package/dist/types/modules/interfaces.d.ts +0 -55
  37. package/dist/types/modules/interfaces.d.ts.map +0 -1
@@ -1,55 +0,0 @@
1
- export interface App {
2
- name: string
3
- url: string
4
- }
5
- export interface ConnectedPerson {
6
- id: number
7
- attributes: {
8
- name: string
9
- organization_name: string
10
- }
11
- }
12
- export interface Notification {
13
- appName: string
14
- createdAt: Date
15
- id: string
16
- isRead: boolean
17
- link?: string
18
- title: string
19
- }
20
- export declare type JoltMessage = {
21
- event: string
22
- channel: string
23
- data: string
24
- }
25
- export declare type JoltMessageNotificationDataPayload = {
26
- data: {
27
- type: "Notification"
28
- id: string
29
- attributes: {
30
- auto_read_at: null | string
31
- created_at: string
32
- key: string
33
- kind: string
34
- read_at: null | string
35
- rollup_key: string
36
- updated_at: string
37
- }
38
- relationships?: object
39
- links: {
40
- payloads: string
41
- self: string
42
- web_payloads: string
43
- }
44
- included?: object
45
- meta: object
46
- }
47
- }
48
- export interface TopbarAPIResponse {
49
- data: {
50
- attributes: {
51
- apps: App[]
52
- }
53
- }
54
- }
55
- //# sourceMappingURL=interfaces.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../modules/interfaces.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,iBAAiB,EAAE,MAAM,CAAA;KAAE,CAAC;CACzD;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,CA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