@churchapps/apphelper 0.2.88 → 0.2.89

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,5 +1,5 @@
1
1
  import { UserContextInterface } from "@churchapps/helpers";
2
- interface Props {
2
+ type Props = {
3
3
  primaryMenuLabel: string;
4
4
  primaryMenuItems: {
5
5
  url: string;
@@ -13,7 +13,7 @@ interface Props {
13
13
  }[];
14
14
  context: UserContextInterface;
15
15
  appName: string;
16
- }
16
+ };
17
17
  export declare const SiteHeader: (props: Props) => import("react/jsx-runtime").JSX.Element;
18
18
  export {};
19
19
  //# sourceMappingURL=SiteHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SiteHeader.d.ts","sourceRoot":"","sources":["../../../src/components/header/SiteHeader.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,UAAU,KAAK;IACb,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACrD,OAAO,EAAE,oBAAoB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAA;CACf;AAED,eAAO,MAAM,UAAU,UAAU,KAAK,4CA8BrC,CAAA"}
1
+ {"version":3,"file":"SiteHeader.d.ts","sourceRoot":"","sources":["../../../src/components/header/SiteHeader.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAC,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,kBAAkB,EAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACrD,OAAO,EAAE,oBAAoB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;CAChB,CAAA;AAED,eAAO,MAAM,UAAU,UAAU,KAAK,4CA8BrC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@churchapps/apphelper",
3
- "version": "0.2.88",
3
+ "version": "0.2.89",
4
4
  "description": "Library of helper functions for React and NextJS ChurchApps",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,13 +8,13 @@ import { SecondaryMenu } from "./SecondaryMenu";
8
8
  import { SecondaryMenuAlt } from "./SecondaryMenuAlt";
9
9
  import { UserContextInterface } from "@churchapps/helpers";
10
10
 
11
- interface Props {
12
- primaryMenuLabel: string,
13
- primaryMenuItems:{ url: string, icon:string, label: string }[],
14
- secondaryMenuLabel: string,
15
- secondaryMenuItems:{ url: string, label: string }[],
16
- context: UserContextInterface,
17
- appName: string
11
+ type Props = {
12
+ primaryMenuLabel: string;
13
+ primaryMenuItems:{ url: string, icon:string, label: string }[];
14
+ secondaryMenuLabel: string;
15
+ secondaryMenuItems:{ url: string, label: string }[];
16
+ context: UserContextInterface;
17
+ appName: string;
18
18
  }
19
19
 
20
20
  export const SiteHeader = (props:Props) => {