@planningcenter/topbar 8.3.1 → 8.4.0-alpha.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.
Files changed (146) hide show
  1. package/README.md +11 -11
  2. package/dist/modules/components/apps_menu.d.ts +6 -2
  3. package/dist/modules/components/outsider.d.ts +1 -1
  4. package/dist/modules/formatters.d.ts +13 -1
  5. package/dist/modules/mono_app_text.d.ts +0 -5
  6. package/dist/topbar.js +1 -1
  7. package/dist/topbar.js.map +1 -1
  8. package/dist/topbar.modern.js +1 -1
  9. package/dist/topbar.modern.js.map +1 -1
  10. package/dist/topbar.module.js +1 -1
  11. package/dist/topbar.module.js.map +1 -1
  12. package/dist/topbar.umd.js +1 -1
  13. package/dist/topbar.umd.js.map +1 -1
  14. package/dist/types/index.d.ts +1 -0
  15. package/dist/types/index.d.ts.map +1 -1
  16. package/dist/types/modules/apps_provider.d.ts +1 -1
  17. package/dist/types/modules/apps_provider.d.ts.map +1 -1
  18. package/dist/types/modules/avatar.d.ts +2 -3
  19. package/dist/types/modules/avatar.d.ts.map +1 -1
  20. package/dist/types/modules/client_storage.d.ts +2 -2
  21. package/dist/types/modules/client_storage.d.ts.map +1 -1
  22. package/dist/types/modules/color_app_icon.d.ts +0 -1
  23. package/dist/types/modules/color_app_icon.d.ts.map +1 -1
  24. package/dist/types/modules/color_app_squircles.d.ts +0 -1
  25. package/dist/types/modules/color_app_squircles.d.ts.map +1 -1
  26. package/dist/types/modules/components/apps_button.d.ts +0 -1
  27. package/dist/types/modules/components/apps_button.d.ts.map +1 -1
  28. package/dist/types/modules/components/apps_menu.d.ts +0 -1
  29. package/dist/types/modules/components/apps_menu.d.ts.map +1 -1
  30. package/dist/types/modules/components/conditional_wrap.d.ts +1 -1
  31. package/dist/types/modules/components/conditional_wrap.d.ts.map +1 -1
  32. package/dist/types/modules/components/eyebrow.d.ts +1 -1
  33. package/dist/types/modules/components/eyebrow.d.ts.map +1 -1
  34. package/dist/types/modules/components/hoverable.d.ts +1 -1
  35. package/dist/types/modules/components/hoverable.d.ts.map +1 -1
  36. package/dist/types/modules/components/hoverable_list_item.d.ts +1 -1
  37. package/dist/types/modules/components/hoverable_list_item.d.ts.map +1 -1
  38. package/dist/types/modules/components/notification_bell.d.ts +0 -1
  39. package/dist/types/modules/components/notification_bell.d.ts.map +1 -1
  40. package/dist/types/modules/components/notification_item.d.ts +0 -1
  41. package/dist/types/modules/components/notification_item.d.ts.map +1 -1
  42. package/dist/types/modules/components/notifications_menu.d.ts +0 -1
  43. package/dist/types/modules/components/notifications_menu.d.ts.map +1 -1
  44. package/dist/types/modules/components/notifications_menu_blank_state.d.ts +0 -1
  45. package/dist/types/modules/components/notifications_menu_blank_state.d.ts.map +1 -1
  46. package/dist/types/modules/components/notifications_menu_wrapper.d.ts +1 -1
  47. package/dist/types/modules/components/notifications_menu_wrapper.d.ts.map +1 -1
  48. package/dist/types/modules/components/outsider.d.ts +1 -1
  49. package/dist/types/modules/components/outsider.d.ts.map +1 -1
  50. package/dist/types/modules/components/popover_root.d.ts +1 -1
  51. package/dist/types/modules/components/popover_root.d.ts.map +1 -1
  52. package/dist/types/modules/components/popup.d.ts +1 -1
  53. package/dist/types/modules/components/popup.d.ts.map +1 -1
  54. package/dist/types/modules/components/popup_root.d.ts +1 -1
  55. package/dist/types/modules/components/popup_root.d.ts.map +1 -1
  56. package/dist/types/modules/components/spinner.d.ts +0 -1
  57. package/dist/types/modules/components/spinner.d.ts.map +1 -1
  58. package/dist/types/modules/connected_people_provider.d.ts +3 -3
  59. package/dist/types/modules/connected_people_provider.d.ts.map +1 -1
  60. package/dist/types/modules/display_switch.d.ts +2 -2
  61. package/dist/types/modules/display_switch.d.ts.map +1 -1
  62. package/dist/types/modules/error_boundary.d.ts +25 -0
  63. package/dist/types/modules/error_boundary.d.ts.map +1 -0
  64. package/dist/types/modules/hooks/use_notifications.d.ts.map +1 -1
  65. package/dist/types/modules/hooks/use_topbar_api.d.ts +2 -2
  66. package/dist/types/modules/hooks/use_topbar_api.d.ts.map +1 -1
  67. package/dist/types/modules/mfa_status.d.ts +0 -1
  68. package/dist/types/modules/mfa_status.d.ts.map +1 -1
  69. package/dist/types/modules/mono_app_icon.d.ts +0 -1
  70. package/dist/types/modules/mono_app_icon.d.ts.map +1 -1
  71. package/dist/types/modules/mono_app_name.d.ts +0 -1
  72. package/dist/types/modules/mono_app_name.d.ts.map +1 -1
  73. package/dist/types/modules/mono_app_symbols.d.ts +0 -1
  74. package/dist/types/modules/mono_app_symbols.d.ts.map +1 -1
  75. package/dist/types/modules/mono_app_text.d.ts +0 -1
  76. package/dist/types/modules/mono_app_text.d.ts.map +1 -1
  77. package/dist/types/modules/not_small_topbar/index.d.ts +27 -0
  78. package/dist/types/modules/not_small_topbar/index.d.ts.map +1 -0
  79. package/dist/types/modules/not_small_topbar.d.ts +1 -1
  80. package/dist/types/modules/not_small_topbar.d.ts.map +1 -1
  81. package/dist/types/modules/platform_announcements.d.ts +3 -3
  82. package/dist/types/modules/platform_announcements.d.ts.map +1 -1
  83. package/dist/types/modules/product_announcement.d.ts +1 -1
  84. package/dist/types/modules/product_announcement.d.ts.map +1 -1
  85. package/dist/types/modules/small_topbar.d.ts +0 -1
  86. package/dist/types/modules/small_topbar.d.ts.map +1 -1
  87. package/dist/types/modules/styled_root.d.ts +0 -1
  88. package/dist/types/modules/styled_root.d.ts.map +1 -1
  89. package/dist/types/modules/symbols.d.ts +0 -1
  90. package/dist/types/modules/symbols.d.ts.map +1 -1
  91. package/dist/types/modules/toolbar/components/drawer.d.ts +5 -0
  92. package/dist/types/modules/toolbar/components/drawer.d.ts.map +1 -0
  93. package/dist/types/modules/toolbar/components/drawer_header.d.ts +5 -0
  94. package/dist/types/modules/toolbar/components/drawer_header.d.ts.map +1 -0
  95. package/dist/types/modules/toolbar/components/drawer_heading.d.ts +5 -0
  96. package/dist/types/modules/toolbar/components/drawer_heading.d.ts.map +1 -0
  97. package/dist/types/modules/toolbar/components/index.d.ts +5 -0
  98. package/dist/types/modules/toolbar/components/index.d.ts.map +1 -0
  99. package/dist/types/modules/toolbar/components/user_profile.d.ts +11 -0
  100. package/dist/types/modules/toolbar/components/user_profile.d.ts.map +1 -0
  101. package/dist/types/modules/toolbar/hooks/index.d.ts +2 -0
  102. package/dist/types/modules/toolbar/hooks/index.d.ts.map +1 -0
  103. package/dist/types/modules/toolbar/hooks/use-toolbar-reducer.d.ts +20 -0
  104. package/dist/types/modules/toolbar/hooks/use-toolbar-reducer.d.ts.map +1 -0
  105. package/dist/types/modules/toolbar/hooks/use_toolbar_reducer.d.ts +20 -0
  106. package/dist/types/modules/toolbar/hooks/use_toolbar_reducer.d.ts.map +1 -0
  107. package/dist/types/modules/toolbar/index.d.ts +8 -0
  108. package/dist/types/modules/toolbar/index.d.ts.map +1 -0
  109. package/dist/types/modules/toolbar/tools/index.d.ts +3 -0
  110. package/dist/types/modules/toolbar/tools/index.d.ts.map +1 -0
  111. package/dist/types/modules/toolbar/tools/notifications.d.ts +4 -0
  112. package/dist/types/modules/toolbar/tools/notifications.d.ts.map +1 -0
  113. package/dist/types/modules/toolbar/tools/profile.d.ts +7 -0
  114. package/dist/types/modules/toolbar/tools/profile.d.ts.map +1 -0
  115. package/dist/types/modules/toolbar/tools/tasks.d.ts +4 -0
  116. package/dist/types/modules/toolbar/tools/tasks.d.ts.map +1 -0
  117. package/dist/types/modules/topbar_context.d.ts +1 -0
  118. package/dist/types/modules/topbar_context.d.ts.map +1 -1
  119. package/dist/types/modules/unbutton.d.ts +0 -1
  120. package/dist/types/modules/unbutton.d.ts.map +1 -1
  121. package/package.json +5 -2
  122. package/CHANGELOG.md +0 -210
  123. package/dist/modules/colors.d.ts +0 -46
  124. package/dist/modules/components/NotificationsMenuBlankState.d.ts +0 -12
  125. package/dist/modules/components/apps_button.d.ts +0 -10
  126. package/dist/modules/components/conditional_wrap.d.ts +0 -7
  127. package/dist/modules/components/eyebrow.d.ts +0 -6
  128. package/dist/modules/components/hoverable.d.ts +0 -11
  129. package/dist/modules/components/notification_bell.d.ts +0 -6
  130. package/dist/modules/components/notification_item.d.ts +0 -11
  131. package/dist/modules/components/notifications_inbox.d.ts +0 -18
  132. package/dist/modules/components/notifications_menu.d.ts +0 -17
  133. package/dist/modules/components/notifications_menu_Wrapper.d.ts +0 -7
  134. package/dist/modules/components/notifications_menu_blank_state.d.ts +0 -8
  135. package/dist/modules/components/popup_root.d.ts +0 -6
  136. package/dist/modules/components/spinner.d.ts +0 -4
  137. package/dist/modules/dummy_data.d.ts +0 -3
  138. package/dist/modules/hooks/use_hover.d.ts +0 -3
  139. package/dist/modules/hooks/use_local_storage.d.ts +0 -10
  140. package/dist/modules/hooks/use_notifications.d.ts +0 -16
  141. package/dist/modules/hooks/use_topbar_api.d.ts +0 -8
  142. package/dist/modules/topbar_context.d.ts +0 -5
  143. package/dist/topbar +0 -2
  144. package/dist/topbar.map +0 -1
  145. package/dist/types/modules/interfaces.d.ts +0 -55
  146. 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.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