@planningcenter/topbar 9.3.0 → 9.4.0-rc.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/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 +1 -0
- package/dist/types/index.d.ts.map +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/display_switch.d.ts.map +1 -1
- package/dist/types/modules/hooks/use_debounce.d.ts +2 -0
- package/dist/types/modules/hooks/use_debounce.d.ts.map +1 -0
- package/dist/types/modules/hooks/use_notifications.d.ts +4 -7
- package/dist/types/modules/hooks/use_notifications.d.ts.map +1 -1
- package/dist/types/modules/hooks/use_notifications_has_unread.d.ts +10 -0
- package/dist/types/modules/hooks/use_notifications_has_unread.d.ts.map +1 -0
- package/dist/types/modules/mono_app_icon.d.ts.map +1 -1
- package/dist/types/modules/not_small_topbar/index.d.ts.map +1 -1
- package/dist/types/modules/not_small_topbar/user_menu.d.ts.map +1 -1
- package/dist/types/modules/not_small_topbar/user_menu_trigger.d.ts +1 -3
- package/dist/types/modules/not_small_topbar/user_menu_trigger.d.ts.map +1 -1
- package/dist/types/modules/toolbar/components/index.d.ts +1 -0
- package/dist/types/modules/toolbar/components/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/components/link.d.ts +11 -0
- package/dist/types/modules/toolbar/components/link.d.ts.map +1 -0
- package/dist/types/modules/toolbar/index.d.ts +3 -1
- package/dist/types/modules/toolbar/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/helpdesk/components/Attachments.d.ts +12 -0
- package/dist/types/modules/toolbar/tools/helpdesk/components/Attachments.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/helpdesk/components/DocumentationSearch.d.ts +4 -0
- package/dist/types/modules/toolbar/tools/helpdesk/components/DocumentationSearch.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/helpdesk/index.d.ts +4 -0
- package/dist/types/modules/toolbar/tools/helpdesk/index.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/index.d.ts +1 -0
- package/dist/types/modules/toolbar/tools/index.d.ts.map +1 -1
- package/dist/types/modules/toolbar/tools/notifications.d.ts.map +1 -1
- package/dist/types/modules/utils.d.ts +1 -0
- package/dist/types/modules/utils.d.ts.map +1 -1
- package/package.json +7 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -10,4 +10,5 @@ export { Route as SmallRoute, Topbar as SmallTopbar, } from "./modules/small_top
|
|
|
10
10
|
export { Bell as BellIcon, Spyglass as SpyglassIcon, X as XIcon, } from "./modules/symbols";
|
|
11
11
|
export { Toolbar } from "./modules/toolbar/";
|
|
12
12
|
export { SwitchView } from "./modules/toolbar/components";
|
|
13
|
+
export { HelpdeskConfig } from "./modules/toolbar/types";
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAA;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAA;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EACL,KAAK,IAAI,aAAa,EACtB,MAAM,IAAI,cAAc,GACzB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,OAAO,IAAI,qBAAqB,EAChC,aAAa,IAAI,kCAAkC,EACnD,kBAAkB,IAAI,0BAA0B,GACjD,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,mBAAmB,EACnB,aAAa,IAAI,gCAAgC,EACjD,kBAAkB,IAAI,yBAAyB,EAC/C,mBAAmB,IAAI,qCAAqC,GAC7D,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,IAAI,UAAU,EACnB,MAAM,IAAI,WAAW,GACtB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,IAAI,IAAI,QAAQ,EAChB,QAAQ,IAAI,YAAY,EACxB,CAAC,IAAI,KAAK,GACX,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAA;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAA;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AACxD,OAAO,EACL,KAAK,IAAI,aAAa,EACtB,MAAM,IAAI,cAAc,GACzB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,OAAO,IAAI,qBAAqB,EAChC,aAAa,IAAI,kCAAkC,EACnD,kBAAkB,IAAI,0BAA0B,GACjD,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,mBAAmB,EACnB,aAAa,IAAI,gCAAgC,EACjD,kBAAkB,IAAI,yBAAyB,EAC/C,mBAAmB,IAAI,qCAAqC,GAC7D,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,IAAI,UAAU,EACnB,MAAM,IAAI,WAAW,GACtB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,IAAI,IAAI,QAAQ,EAChB,QAAQ,IAAI,YAAY,EACxB,CAAC,IAAI,KAAK,GACX,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps_provider.d.ts","sourceRoot":"","sources":["../../../modules/apps_provider.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"apps_provider.d.ts","sourceRoot":"","sources":["../../../modules/apps_provider.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAInE,eAAO,MAAM,YAAY,sEAOtB,iBAAiB,2FA+EnB,CAAA;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,iBAAiB,gCAE9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color_app_squircles.d.ts","sourceRoot":"","sources":["../../../modules/color_app_squircles.tsx"],"names":[],"mappings":"AAGA,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC;AAED,wBAAgB,GAAG,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBnC;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC;AAED,wBAAgB,YAAY,IAAI,GAAG,CAAC,OAAO,EAAE,CAsB5C;AAED,wBAAgB,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBtC;AAED,wBAAgB,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBtC;AAED,wBAAgB,IAAI,IAAI,GAAG,CAAC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"color_app_squircles.d.ts","sourceRoot":"","sources":["../../../modules/color_app_squircles.tsx"],"names":[],"mappings":"AAGA,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC;AAED,wBAAgB,GAAG,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBnC;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC;AAED,wBAAgB,YAAY,IAAI,GAAG,CAAC,OAAO,EAAE,CAsB5C;AAED,wBAAgB,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBtC;AAED,wBAAgB,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBtC;AAED,wBAAgB,IAAI,IAAI,GAAG,CAAC,OAAO,EAAE,CAqBpC;AAED,wBAAgB,MAAM,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBtC;AAED,wBAAgB,UAAU,IAAI,GAAG,CAAC,OAAO,EAAE,CAuC1C;AAED,wBAAgB,aAAa,IAAI,GAAG,CAAC,OAAO,EAAE,CAsB7C;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,OAAO,EAAE,CAsBxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display_switch.d.ts","sourceRoot":"","sources":["../../../modules/display_switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"display_switch.d.ts","sourceRoot":"","sources":["../../../modules/display_switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,qBAAa,UAAW,SAAQ,KAAK,CAAC,SAAS,CAC7C;IACE,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;CACxD,EACD;IACE,KAAK,EAAE,MAAM,CAAA;CACd,CACF;gBACa,KAAK,EAAE,GAAG;IAUtB,cAAc;IAId,iBAAiB;IAIjB,oBAAoB;IAQpB,gBAAgB,CAAC,KAAK,KAAA;IAQtB,MAAM;CAGP;AAED,qBAAa,aAAc,SAAQ,KAAK,CAAC,SAAS,CAChD;IACE,cAAc,EAAE,CAAC,kBAAkB,EAAE,MAAM,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;IACvE,gBAAgB,EAAE,MAAM,EAAE,CAAA;IAC1B,WAAW,EAAE,CAAC,mBAAmB,EAAE,MAAM,KAAK,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,CAAA;CACtE,EACD,EAAE,CACH;IACC,OAAc,YAAY;;MAEzB;IAED,MAAM;CAaP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use_debounce.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_debounce.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,mEAInB,MAAM,MAGV,CAAA"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import Jolt from "@planningcenter/jolt-client";
|
|
2
1
|
import * as PCO_URL from "@planningcenter/url";
|
|
2
|
+
import { ChannelSubscription } from "@planningcenter/jolt-client";
|
|
3
3
|
import { Notification } from "../interfaces";
|
|
4
|
-
type
|
|
5
|
-
enableJoltLogging?: boolean;
|
|
4
|
+
export type NotificationsHookProps = {
|
|
6
5
|
enabled?: boolean;
|
|
7
6
|
env: PCO_URL.Environment;
|
|
8
|
-
|
|
9
|
-
userId: string;
|
|
7
|
+
joltChannel: ChannelSubscription;
|
|
10
8
|
};
|
|
11
|
-
declare const useNotifications: ({
|
|
9
|
+
declare const useNotifications: ({ enabled, env, joltChannel, }: NotificationsHookProps) => {
|
|
12
10
|
handleMarkAllAsRead: () => any;
|
|
13
11
|
handleMarkAsRead: (notification: Notification) => Promise<any>;
|
|
14
12
|
handleToggleRead: (notification: Notification) => Promise<any>;
|
|
@@ -16,7 +14,6 @@ declare const useNotifications: ({ enableJoltLogging, enabled, env, userId, ...p
|
|
|
16
14
|
isLoading: boolean;
|
|
17
15
|
read: Notification[];
|
|
18
16
|
unread: Notification[];
|
|
19
|
-
unreadCount: number;
|
|
20
17
|
};
|
|
21
18
|
export default useNotifications;
|
|
22
19
|
//# sourceMappingURL=use_notifications.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_notifications.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_notifications.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"use_notifications.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_notifications.ts"],"names":[],"mappings":"AAAA,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAEtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAGjE,OAAO,EAGL,YAAY,EACb,MAAM,eAAe,CAAA;AA0DtB,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,WAAW,EAAE,mBAAmB,CAAA;CACjC,CAAA;AAED,QAAA,MAAM,gBAAgB,mCAInB,sBAAsB;yBACF,MAAM,GAAG;qCACG,YAAY,KAAK,QAAQ,GAAG,CAAC;qCAC7B,YAAY,KAAK,QAAQ,GAAG,CAAC;cACpD,OAAO;eACN,OAAO;UACZ,YAAY,EAAE;YACZ,YAAY,EAAE;CAmOvB,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as PCO_URL from "@planningcenter/url";
|
|
2
|
+
import { ChannelSubscription } from "@planningcenter/jolt-client";
|
|
3
|
+
type NotificationsHookProps = {
|
|
4
|
+
enabled?: boolean;
|
|
5
|
+
env: PCO_URL.Environment;
|
|
6
|
+
joltChannel: ChannelSubscription;
|
|
7
|
+
};
|
|
8
|
+
export declare const useNotificationsHasUnread: ({ env, enabled, joltChannel, }: NotificationsHookProps) => boolean;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=use_notifications_has_unread.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use_notifications_has_unread.d.ts","sourceRoot":"","sources":["../../../../modules/hooks/use_notifications_has_unread.ts"],"names":[],"mappings":"AACA,OAAe,KAAK,OAAO,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AASjE,KAAK,sBAAsB,GAAG;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,WAAW,EAAE,mBAAmB,CAAA;CACjC,CAAA;AAED,eAAO,MAAM,yBAAyB,mCAInC,sBAAsB,KAAG,OAyC3B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mono_app_icon.d.ts","sourceRoot":"","sources":["../../../modules/mono_app_icon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mono_app_icon.d.ts","sourceRoot":"","sources":["../../../modules/mono_app_icon.tsx"],"names":[],"mappings":"AAaA,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,MAAM,EACN,KAAK,EACL,IAAS,EACT,GAAG,aAAa,EACjB,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,GAAG,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,GAAG,GAAG,CAAC,OAAO,CA6Bd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAMjD,UAAU,mBAAmB;IAC3B,oBAAoB,CAAC,EAAE,MAAM,GAAG,CAAA;IAChC,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,QAAA,MAAM,MAAM;YAAW,mBAAmB,GAAG,iBAAiB;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAMjD,UAAU,mBAAmB;IAC3B,oBAAoB,CAAC,EAAE,MAAM,GAAG,CAAA;IAChC,MAAM,CAAC,EAAE,GAAG,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,QAAA,MAAM,MAAM;YAAW,mBAAmB,GAAG,iBAAiB;;;;;;;CAqE7D,CAAA;AASD,QAAA,MAAM,KAAK;YAMD,OAAO;cACL,MAAM,SAAS;YACjB,GAAG;WACJ,MAAM;YACL,MAAM;iBA0Cf,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user_menu.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/user_menu.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAS9C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAG/C,UAAU,aAAa;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,eAAe,EAAE,CAAA;IAClC,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,qBAAqB,EAAE,GAAG,CAAA;IAC1B,gCAAgC,EAAE,GAAG,CAAA;IACrC,4BAA4B,EAAE,GAAG,CAAA;IACjC,4BAA4B,EAAE,GAAG,CAAA;IACjC,kBAAkB,EAAE,QAAQ,CAAA;IAC5B,eAAe,EAAE,OAAO,CAAA;CACzB;AAED,eAAO,MAAM,QAAQ,qNAWlB,aAAa,
|
|
1
|
+
{"version":3,"file":"user_menu.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/user_menu.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAA;AAS9C,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAG/C,UAAU,aAAa;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,eAAe,EAAE,eAAe,EAAE,CAAA;IAClC,GAAG,EAAE,OAAO,CAAC,WAAW,CAAA;IACxB,kBAAkB,EAAE,OAAO,CAAA;IAC3B,qBAAqB,EAAE,GAAG,CAAA;IAC1B,gCAAgC,EAAE,GAAG,CAAA;IACrC,4BAA4B,EAAE,GAAG,CAAA;IACjC,4BAA4B,EAAE,GAAG,CAAA;IACjC,kBAAkB,EAAE,QAAQ,CAAA;IAC5B,eAAe,EAAE,OAAO,CAAA;CACzB;AAED,eAAO,MAAM,QAAQ,qNAWlB,aAAa,gBAgKf,CAAA"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { ConnectedPerson } from "../interfaces";
|
|
2
1
|
interface UserMenuTriggerProps {
|
|
3
2
|
colors: any;
|
|
4
|
-
connectedPeople: ConnectedPerson[];
|
|
5
3
|
orgName: string;
|
|
6
4
|
requestConnectedPeopleFetch: any;
|
|
7
5
|
setUserMenuVisible: Function;
|
|
8
6
|
showOrgName: boolean;
|
|
9
7
|
}
|
|
10
|
-
export declare const UserMenuTrigger: ({ colors,
|
|
8
|
+
export declare const UserMenuTrigger: ({ colors, orgName, requestConnectedPeopleFetch, setUserMenuVisible, showOrgName, }: UserMenuTriggerProps) => JSX.Element;
|
|
11
9
|
export {};
|
|
12
10
|
//# sourceMappingURL=user_menu_trigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user_menu_trigger.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/user_menu_trigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user_menu_trigger.d.ts","sourceRoot":"","sources":["../../../../modules/not_small_topbar/user_menu_trigger.tsx"],"names":[],"mappings":"AAMA,UAAU,oBAAoB;IAC5B,MAAM,EAAE,GAAG,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,2BAA2B,EAAE,GAAG,CAAA;IAChC,kBAAkB,EAAE,QAAQ,CAAA;IAC5B,WAAW,EAAE,OAAO,CAAA;CACrB;AAED,eAAO,MAAM,eAAe,uFAMzB,oBAAoB,gBA8DtB,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { Drawer } from "./drawer";
|
|
2
2
|
export { DrawerHeader } from "./drawer_header";
|
|
3
3
|
export { DrawerHeading } from "./drawer_heading";
|
|
4
|
+
export { Link } from "./link";
|
|
4
5
|
export { ScrollContainer } from "./scroll_container";
|
|
5
6
|
export { SwitchView } from "./switch_view";
|
|
6
7
|
export { UserProfile } from "./user_profile";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function Link({ color, external, focus, hover, to, underline, children, ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
color?: string;
|
|
4
|
+
external: any;
|
|
5
|
+
focus: any;
|
|
6
|
+
hover: any;
|
|
7
|
+
to: any;
|
|
8
|
+
underline?: boolean;
|
|
9
|
+
children: any;
|
|
10
|
+
}): JSX.Element;
|
|
11
|
+
//# sourceMappingURL=link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/components/link.tsx"],"names":[],"mappings":"AAGA,wBAAgB,IAAI,CAAC,EACnB,KAAwB,EACxB,QAAQ,EACR,KAAK,EACL,KAAK,EACL,EAAE,EACF,SAAgB,EAChB,QAAQ,EACR,GAAG,KAAK,EACT;;;;;;;;;CAAA,eAMA"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Environment } from "@planningcenter/url";
|
|
2
|
+
import { HelpdeskConfig } from "./types";
|
|
2
3
|
type ToolbarProps = {
|
|
3
4
|
appName: string;
|
|
4
5
|
env: Environment;
|
|
6
|
+
helpdeskConfig?: HelpdeskConfig;
|
|
5
7
|
linkToProfile?: boolean;
|
|
6
8
|
userAvatarPath: string;
|
|
7
9
|
userName: string;
|
|
8
10
|
};
|
|
9
|
-
export declare function Toolbar({ appName, env, linkToProfile, userAvatarPath, userName, }: ToolbarProps): JSX.Element;
|
|
11
|
+
export declare function Toolbar({ appName, env, helpdeskConfig, linkToProfile, userAvatarPath, userName, }: ToolbarProps): JSX.Element;
|
|
10
12
|
export {};
|
|
11
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AAWA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AAWA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAWzD,OAAO,EAAE,cAAc,EAAe,MAAM,SAAS,CAAA;AAOrD,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,WAAW,CAAA;IAChB,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAiBD,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,GAAG,EACH,cAAmB,EACnB,aAAoB,EACpB,cAAc,EACd,QAAQ,GACT,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAmU5B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type FileData = {
|
|
2
|
+
data: string;
|
|
3
|
+
original_filename: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const Attachments: ({ dragActiveMessage, message, files, onUpdateFiles, }: {
|
|
6
|
+
dragActiveMessage: string;
|
|
7
|
+
files: FileData[];
|
|
8
|
+
message: string;
|
|
9
|
+
onUpdateFiles: (data: FileData[]) => unknown;
|
|
10
|
+
}) => JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=Attachments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attachments.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/helpdesk/components/Attachments.tsx"],"names":[],"mappings":"AAIA,KAAK,QAAQ,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,MAAM,CAAA;CAAE,CAAA;AAE3D,eAAO,MAAM,WAAW;uBAMH,MAAM;WAClB,QAAQ,EAAE;aACR,MAAM;0BACO,QAAQ,EAAE,KAAK,OAAO;iBA0C7C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentationSearch.d.ts","sourceRoot":"","sources":["../../../../../../../modules/toolbar/tools/helpdesk/components/DocumentationSearch.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,mBAAmB;eAAgC,MAAM;iBAoGrE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/helpdesk/index.tsx"],"names":[],"mappings":"AASA,OAAO,EAAkB,WAAW,EAAE,MAAM,aAAa,CAAA;AAyDzD,QAAA,MAAM,QAAQ,EAAE,WAOf,CAAA;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/notifications.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/notifications.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AA4LtC,QAAA,MAAM,aAAa,EAAE,WAOpB,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../modules/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,MAAO,MAAM,WAA2C,CAAA;AAE/E,eAAO,MAAM,SAAS,QAAS,MAAM,MAAK,MAAM,WAO/C,CAAA"}
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../modules/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,MAAO,MAAM,WAA2C,CAAA;AAE/E,eAAO,MAAM,SAAS,QAAS,MAAM,MAAK,MAAM,WAO/C,CAAA;AAED,eAAO,MAAM,QAAQ,sCAGO,GAAG,SAe9B,CAAA"}
|
package/package.json
CHANGED
|
@@ -13,14 +13,19 @@
|
|
|
13
13
|
"@churchcenter/datetime-fmt": "^1.3.2",
|
|
14
14
|
"@emotion/cache": "^10.0.0",
|
|
15
15
|
"@emotion/react": "^11.10.5",
|
|
16
|
-
"@planningcenter/icons": "
|
|
16
|
+
"@planningcenter/icons": "15.0.0",
|
|
17
17
|
"@planningcenter/jolt-client": "^1.3.1",
|
|
18
18
|
"@planningcenter/tapestry-react": "^2.7.0",
|
|
19
19
|
"@planningcenter/url": "^2.7.0",
|
|
20
|
+
"algoliasearch": "^4.20.0",
|
|
21
|
+
"instantsearch.js": "^4.57.0",
|
|
20
22
|
"nanoid": "^4.0.2",
|
|
23
|
+
"react-calendly": "^4.2.0",
|
|
21
24
|
"react-cool-dimensions": "^2.0.7",
|
|
22
25
|
"react-dropzone": "^14.2.3",
|
|
23
26
|
"react-file-utils": "^1.2.0",
|
|
27
|
+
"react-instantsearch": "^7.1.0",
|
|
28
|
+
"react-instantsearch-dom": "^6.40.4",
|
|
24
29
|
"react-transition-group": "^4.4.2",
|
|
25
30
|
"stream-chat": "^8.10.1",
|
|
26
31
|
"stream-chat-react": "^10.8.8",
|
|
@@ -63,7 +68,7 @@
|
|
|
63
68
|
"webpack-cli": "^4.9.1",
|
|
64
69
|
"webpack-dev-server": "^4.4.0"
|
|
65
70
|
},
|
|
66
|
-
"version": "9.
|
|
71
|
+
"version": "9.4.0-rc.0",
|
|
67
72
|
"peerDependencies": {
|
|
68
73
|
"@planningcenter/add-ons": "^1.2.1",
|
|
69
74
|
"@planningcenter/tapestry-react": "^2.7.0",
|