@planningcenter/topbar 9.6.0-rc.2 → 9.6.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/small_topbar/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAoCjD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAMD,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;CAmU1D,CAAA;AAOD,QAAA,MAAM,KAAK;;;iBAmBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/small_topbar/index.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAoCjD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAMD,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;CAoU1D,CAAA;AAOD,QAAA,MAAM,KAAK;;;iBAmBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import * as React from "react";
2
+ import { ToolbarTool } from "../types";
2
3
  declare enum ActionType {
3
4
  close = "close",
4
5
  mount = "mount",
@@ -7,8 +8,7 @@ declare enum ActionType {
7
8
  unmount = "unmount"
8
9
  }
9
10
  type ToolbarState = {
10
- currentContent: any;
11
- mounted: boolean;
11
+ currentContent: ToolbarTool | null;
12
12
  open: boolean;
13
13
  };
14
14
  type ToolbarDispatch = {
@@ -1 +1 @@
1
- {"version":3,"file":"use_toolbar_reducer.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/hooks/use_toolbar_reducer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,aAAK,UAAU;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAED,KAAK,YAAY,GAAG;IAClB,cAAc,EAAE,GAAG,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAED,KAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AA0BD,QAAA,MAAM,iBAAiB,eAAgB,QAAQ,YAAY,CAAC,oDACE,CAAA;AAE9D,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAA"}
1
+ {"version":3,"file":"use_toolbar_reducer.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/hooks/use_toolbar_reducer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAEtC,aAAK,UAAU;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,OAAO,YAAY;CACpB;AAED,KAAK,YAAY,GAAG;IAClB,cAAc,EAAE,WAAW,GAAG,IAAI,CAAA;IAClC,IAAI,EAAE,OAAO,CAAA;CACd,CAAA;AAED,KAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AAyBD,QAAA,MAAM,iBAAiB,eAAgB,QAAQ,YAAY,CAAC,oDACE,CAAA;AAE9D,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1,12 +1,14 @@
1
1
  import { Environment } from "@planningcenter/url";
2
2
  type ToolbarProps = {
3
3
  appName: string;
4
+ autoMountTool?: string;
4
5
  enableJoltLogging?: boolean;
5
6
  env: Environment;
6
7
  linkToProfile?: boolean;
8
+ onReceiveTasksWorker?: (worker: Worker) => void;
7
9
  userAvatarPath: string;
8
10
  userName: string;
9
11
  };
10
- export declare function Toolbar({ appName, enableJoltLogging, env, linkToProfile, userAvatarPath, userName, }: ToolbarProps): JSX.Element;
12
+ export declare function Toolbar({ appName, autoMountTool, enableJoltLogging, env, linkToProfile, userAvatarPath, userName, onReceiveTasksWorker, }: ToolbarProps): JSX.Element;
11
13
  export {};
12
14
  //# 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;AAmBzD,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,GAAG,EAAE,WAAW,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAiBD,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,iBAAiB,EACjB,GAAG,EACH,aAAoB,EACpB,cAAc,EACd,QAAQ,GACT,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CA0U5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/toolbar/index.tsx"],"names":[],"mappings":"AAWA,OAAe,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAmBzD,KAAK,YAAY,GAAG;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,GAAG,EAAE,WAAW,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,oBAAoB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAuBD,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,aAAa,EACb,iBAAiB,EACjB,GAAG,EACH,aAAoB,EACpB,cAAc,EACd,QAAQ,EACR,oBAAoB,GACrB,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CA+U5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/index.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe;;;;iBAsE3B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/toolbar/tools/chat/components/channel_list_view/index.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe;;;;iBAoE3B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/chat/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AA2HzC,QAAA,MAAM,IAAI,EAAE,WAOX,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/toolbar/tools/chat/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAoB,MAAM,aAAa,CAAA;AA2H3D,QAAA,MAAM,IAAI,EAAE,WAOX,CAAA;AAED,OAAO,EAAE,IAAI,EAAE,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;AA4LtC,QAAA,MAAM,aAAa,EAAE,WAOpB,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
1
+ {"version":3,"file":"notifications.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/notifications.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAoB,MAAM,UAAU,CAAA;AA2LxD,QAAA,MAAM,aAAa,EAAE,WAOpB,CAAA;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/tasks.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAqFtC,QAAA,MAAM,KAAK,EAAE,WAOZ,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
1
+ {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../../../modules/toolbar/tools/tasks.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAoB,MAAM,UAAU,CAAA;AAqFxD,QAAA,MAAM,KAAK,EAAE,WAOZ,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
package/package.json CHANGED
@@ -63,7 +63,7 @@
63
63
  "webpack-cli": "^4.9.1",
64
64
  "webpack-dev-server": "^4.4.0"
65
65
  },
66
- "version": "9.6.0-rc.2",
66
+ "version": "9.6.0",
67
67
  "peerDependencies": {
68
68
  "@planningcenter/add-ons": "~3",
69
69
  "@planningcenter/tapestry-react": "^2.10.0",