@planningcenter/topbar 8.3.3-rc.2 → 8.3.3-rc.3

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 (95) hide show
  1. package/README.md +0 -56
  2. package/dist/topbar.css +1 -1
  3. package/dist/topbar.css.map +1 -1
  4. package/dist/topbar.js +1 -1
  5. package/dist/topbar.js.map +1 -1
  6. package/dist/topbar.modern.js +1 -1
  7. package/dist/topbar.modern.js.map +1 -1
  8. package/dist/topbar.module.js +1 -1
  9. package/dist/topbar.module.js.map +1 -1
  10. package/dist/topbar.umd.js +1 -1
  11. package/dist/topbar.umd.js.map +1 -1
  12. package/dist/types/index.d.ts +0 -1
  13. package/dist/types/index.d.ts.map +1 -1
  14. package/dist/types/modules/apps_provider.d.ts +13 -3
  15. package/dist/types/modules/apps_provider.d.ts.map +1 -1
  16. package/dist/types/modules/avatar.d.ts +3 -2
  17. package/dist/types/modules/avatar.d.ts.map +1 -1
  18. package/dist/types/modules/client_storage.d.ts +2 -2
  19. package/dist/types/modules/client_storage.d.ts.map +1 -1
  20. package/dist/types/modules/color_app_icon.d.ts +1 -0
  21. package/dist/types/modules/color_app_icon.d.ts.map +1 -1
  22. package/dist/types/modules/color_app_squircles.d.ts +1 -0
  23. package/dist/types/modules/color_app_squircles.d.ts.map +1 -1
  24. package/dist/types/modules/colors.d.ts +0 -3
  25. package/dist/types/modules/colors.d.ts.map +1 -1
  26. package/dist/types/modules/components/apps_button.d.ts +1 -0
  27. package/dist/types/modules/components/apps_button.d.ts.map +1 -1
  28. package/dist/types/modules/components/apps_menu.d.ts +1 -0
  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 +2 -2
  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 +1 -0
  39. package/dist/types/modules/components/notification_bell.d.ts.map +1 -1
  40. package/dist/types/modules/components/notification_item.d.ts +1 -0
  41. package/dist/types/modules/components/notification_item.d.ts.map +1 -1
  42. package/dist/types/modules/components/notifications_menu.d.ts +10 -2
  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 +2 -2
  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 +5 -0
  57. package/dist/types/modules/components/spinner.d.ts.map +1 -0
  58. package/dist/types/modules/connected_people_provider.d.ts +6 -7
  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/get_login_profile_path.d.ts +2 -2
  63. package/dist/types/modules/get_login_profile_path.d.ts.map +1 -1
  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 +1 -0
  68. package/dist/types/modules/mfa_status.d.ts.map +1 -1
  69. package/dist/types/modules/mono_app_icon.d.ts +1 -0
  70. package/dist/types/modules/mono_app_icon.d.ts.map +1 -1
  71. package/dist/types/modules/mono_app_name.d.ts +1 -0
  72. package/dist/types/modules/mono_app_name.d.ts.map +1 -1
  73. package/dist/types/modules/mono_app_symbols.d.ts +1 -0
  74. package/dist/types/modules/mono_app_symbols.d.ts.map +1 -1
  75. package/dist/types/modules/mono_app_text.d.ts +1 -0
  76. package/dist/types/modules/mono_app_text.d.ts.map +1 -1
  77. package/dist/types/modules/not_small_topbar.d.ts +27 -0
  78. package/dist/types/modules/not_small_topbar.d.ts.map +1 -0
  79. package/dist/types/modules/platform_announcements.d.ts +3 -3
  80. package/dist/types/modules/platform_announcements.d.ts.map +1 -1
  81. package/dist/types/modules/product_announcement.d.ts +1 -1
  82. package/dist/types/modules/product_announcement.d.ts.map +1 -1
  83. package/dist/types/modules/small_topbar.d.ts +18 -0
  84. package/dist/types/modules/small_topbar.d.ts.map +1 -0
  85. package/dist/types/modules/styled_root.d.ts +1 -0
  86. package/dist/types/modules/styled_root.d.ts.map +1 -1
  87. package/dist/types/modules/symbols.d.ts +2 -2
  88. package/dist/types/modules/symbols.d.ts.map +1 -1
  89. package/dist/types/modules/topbar_context.d.ts +9 -0
  90. package/dist/types/modules/topbar_context.d.ts.map +1 -0
  91. package/dist/types/modules/unbutton.d.ts +1 -0
  92. package/dist/types/modules/unbutton.d.ts.map +1 -1
  93. package/dist/types/modules/utils.d.ts +0 -1
  94. package/dist/types/modules/utils.d.ts.map +1 -1
  95. package/package.json +4 -17
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { SharedTopbarProps } from "./interfaces";
3
+ interface SmallTopbarProps {
4
+ currentRouteComponent?: any;
5
+ }
6
+ declare const Topbar: {
7
+ (props: SharedTopbarProps & SmallTopbarProps): JSX.Element;
8
+ defaultProps: {
9
+ currentRouteComponent: (props: any) => JSX.Element;
10
+ notifications: () => any;
11
+ };
12
+ };
13
+ declare const Route: ({ active, ...props }: {
14
+ [x: string]: any;
15
+ active: any;
16
+ }) => JSX.Element;
17
+ export { Route, Topbar };
18
+ //# sourceMappingURL=small_topbar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"small_topbar.d.ts","sourceRoot":"","sources":["../../../modules/small_topbar.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAqChD,UAAU,gBAAgB;IACxB,qBAAqB,CAAC,EAAE,GAAG,CAAA;CAC5B;AAMD,QAAA,MAAM,MAAM;YAAW,iBAAiB,GAAG,gBAAgB;;;;;CAkoB1D,CAAA;AAOD,QAAA,MAAM,KAAK;;;iBAmBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function StyledRoot({ children, style, ...nativeProps }: {
2
3
  [x: string]: any;
3
4
  children: any;
@@ -1 +1 @@
1
- {"version":3,"file":"styled_root.d.ts","sourceRoot":"","sources":["../../../modules/styled_root.tsx"],"names":[],"mappings":"AAEA,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE;;;;CAAA,GAAG,GAAG,CAAC,OAAO,CA4B3E"}
1
+ {"version":3,"file":"styled_root.d.ts","sourceRoot":"","sources":["../../../modules/styled_root.tsx"],"names":[],"mappings":";AAEA,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE;;;;CAAA,GAAG,GAAG,CAAC,OAAO,CA2B3E"}
@@ -1,12 +1,12 @@
1
+ /// <reference types="react" />
1
2
  export declare const Bell: ({ dot, dotFill, fill, style, ...props }: {
2
3
  dot?: boolean;
3
4
  dotFill?: string;
4
5
  fill?: string;
5
6
  style?: object;
6
7
  }) => JSX.Element;
7
- export declare const BlankStateIcon: ({ dark, id, style, ...nativeProps }: {
8
+ export declare const BlankStateIcon: ({ dark, style, ...nativeProps }: {
8
9
  dark?: boolean;
9
- id?: string;
10
10
  style?: object;
11
11
  }) => JSX.Element;
12
12
  export declare const ChevronIcon: ({ fill, size, style, ...nativeProps }: {
@@ -1 +1 @@
1
- {"version":3,"file":"symbols.d.ts","sourceRoot":"","sources":["../../../modules/symbols.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;UAOT,OAAO;cACH,MAAM;WACT,MAAM;YACL,MAAM;iBAoCf,CAAA;AAED,eAAO,MAAM,cAAc;WAMlB,OAAO;SACT,MAAM;YACH,MAAM;iBAiDf,CAAA;AAED,eAAO,MAAM,WAAW;WAMf,MAAM;WACN,MAAM;YACL,MAAM;iBAef,CAAA;AAED,eAAO,MAAM,GAAG;WAMP,MAAM;WACN,MAAM;YACL,MAAM;iBAef,CAAA;AAED,eAAO,MAAM,qBAAqB;YAKxB,GAAG;YACH,MAAM;iBAgBf,CAAA;AAED,eAAO,MAAM,QAAQ;YAKX,GAAG;YACH,MAAM;iBAgBf,CAAA;AAED,eAAO,MAAM,mBAAmB;WAMvB,MAAM;UACP,MAAM;YACJ,MAAM;iBAef,CAAA;AAED,eAAO,MAAM,QAAQ;WAKZ,MAAM;YACL,MAAM;iBAef,CAAA;AAED,eAAO,MAAM,CAAC;WAKL,MAAM;YACL,MAAM;iBAef,CAAA"}
1
+ {"version":3,"file":"symbols.d.ts","sourceRoot":"","sources":["../../../modules/symbols.tsx"],"names":[],"mappings":";AAEA,eAAO,MAAM,IAAI;UAOT,OAAO;cACH,MAAM;WACT,MAAM;YACL,MAAM;iBAoCf,CAAA;AAED,eAAO,MAAM,cAAc;WAKlB,OAAO;YACN,MAAM;iBAiDf,CAAA;AAED,eAAO,MAAM,WAAW;WAMf,MAAM;WACN,MAAM;YACL,MAAM;iBAef,CAAC;AAEF,eAAO,MAAM,GAAG;WAMP,MAAM;WACN,MAAM;YACL,MAAM;iBAef,CAAC;AAEF,eAAO,MAAM,qBAAqB;YAKxB,GAAG;YACH,MAAM;iBAgBf,CAAA;AAED,eAAO,MAAM,QAAQ;YAKX,GAAG;YACH,MAAM;iBAgBf,CAAA;AAED,eAAO,MAAM,mBAAmB;WAMvB,MAAM;UACP,MAAM;YACJ,MAAM;iBAef,CAAA;AAED,eAAO,MAAM,QAAQ;WAKZ,MAAM;YACL,MAAM;iBAef,CAAA;AAED,eAAO,MAAM,CAAC;WAKL,MAAM;YACL,MAAM;iBAef,CAAA"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ declare const _default: import("react").Context<{
3
+ mfaConfigured?: boolean;
4
+ mfaEnabled?: boolean;
5
+ notificationsEnabled?: boolean;
6
+ organizationTimeZone?: string;
7
+ }>;
8
+ export default _default;
9
+ //# sourceMappingURL=topbar_context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topbar_context.d.ts","sourceRoot":"","sources":["../../../modules/topbar_context.ts"],"names":[],"mappings":";;oBAQkB,OAAO;iBACV,OAAO;2BACG,OAAO;2BACP,MAAM;;AAT/B,wBAUE"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Unbutton({ style, ...nativeProps }: {
2
3
  children: any;
3
4
  id?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"unbutton.d.ts","sourceRoot":"","sources":["../../../modules/unbutton.tsx"],"names":[],"mappings":"AAIA,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,GAAG,WAAW,EACf,EAAE;IACD,QAAQ,EAAE,GAAG,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,WAAW,CAAC,EAAE,GAAG,CAAA;IACjB,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,GAAG,CAAC,OAAO,CAkBd"}
1
+ {"version":3,"file":"unbutton.d.ts","sourceRoot":"","sources":["../../../modules/unbutton.tsx"],"names":[],"mappings":";AAIA,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,GAAG,WAAW,EACf,EAAE;IACD,QAAQ,EAAE,GAAG,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,WAAW,CAAC,EAAE,GAAG,CAAA;IACjB,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,YAAY,CAAC,EAAE,GAAG,CAAA;IAClB,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,GAAG,CAAC,OAAO,CAkBd"}
@@ -1,3 +1,2 @@
1
1
  export declare const capitalize: (s: string) => string;
2
- export declare const HSLtoHSLA: (hsl: string, a?: number) => string;
3
2
  //# sourceMappingURL=utils.d.ts.map
@@ -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"}
package/package.json CHANGED
@@ -11,16 +11,10 @@
11
11
  "module": "./dist/topbar.module.js",
12
12
  "dependencies": {
13
13
  "@churchcenter/datetime-fmt": "^1.3.2",
14
- "@emotion/cache": "^10.0.0",
15
- "@emotion/react": "^11.10.5",
16
- "@planningcenter/add-ons": ">=0.16.0 <2",
17
14
  "@planningcenter/jolt-client": "^1.3.1",
18
- "@planningcenter/tapestry-react": ">=2.6.0-rc.12 <3",
19
15
  "@planningcenter/url": "^2.6.4",
20
16
  "react-cool-dimensions": "^2.0.7",
21
- "react-transition-group": "^4.4.2",
22
- "tslint-config-prettier": "^1.18.0",
23
- "use-sync-external-store": "^1.2.0"
17
+ "react-transition-group": "^4.4.2"
24
18
  },
25
19
  "name": "@planningcenter/topbar",
26
20
  "devDependencies": {
@@ -31,7 +25,6 @@
31
25
  "@typescript-eslint/parser": "^5.10.1",
32
26
  "css-loader": "^6.5.1",
33
27
  "eslint": "^8.7.0",
34
- "eslint-config-prettier": "^8.8.0",
35
28
  "eslint-import-resolver-typescript": "^2.5.0",
36
29
  "eslint-plugin-import": "^2.25.4",
37
30
  "eslint-plugin-react": "^7.28.0",
@@ -56,10 +49,9 @@
56
49
  "webpack-cli": "^4.9.1",
57
50
  "webpack-dev-server": "^4.4.0"
58
51
  },
59
- "version": "8.3.3-rc.2",
52
+ "version": "8.3.3-rc.3",
60
53
  "peerDependencies": {
61
- "react": "^16.8.6",
62
- "@planningcenter/add-ons": ">=0.16.0 <2"
54
+ "react": "^16.8.6"
63
55
  },
64
56
  "private": false,
65
57
  "repository": "https://github.com/planningcenter/topbar.git",
@@ -68,12 +60,7 @@
68
60
  "build": "microbundle --jsx React.createElement",
69
61
  "dev": "webpack-cli serve --mode development",
70
62
  "prepare": "$npm_execpath run build",
71
- "test": "jest",
72
- "lint": "npx eslint modules",
73
- "lint:fix": "yarn lint --fix",
74
- "prettier": "npx prettier modules --check",
75
- "prettier:fix": "yarn prettier --write",
76
- "format": "yarn lint:fix && yarn prettier:fix"
63
+ "test": "jest"
77
64
  },
78
65
  "source": "index.ts",
79
66
  "types": "dist/types/index.d.ts"