@planningcenter/topbar 8.3.2 → 8.4.0-alpha.1
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/README.md +56 -0
- package/dist/index.d.ts +10 -0
- package/dist/modules/api_request.d.ts +23 -0
- package/dist/modules/apps_provider.d.ts +30 -0
- package/dist/modules/avatar.d.ts +7 -0
- package/dist/modules/client_storage.d.ts +12 -0
- package/dist/modules/color_app_icon.d.ts +5 -0
- package/dist/modules/color_app_squircles.d.ts +14 -0
- package/dist/modules/colors.d.ts +46 -0
- package/dist/modules/components/apps_button.d.ts +10 -0
- package/dist/modules/components/apps_menu.d.ts +15 -0
- package/dist/modules/components/conditional_wrap.d.ts +7 -0
- package/dist/modules/components/eyebrow.d.ts +6 -0
- package/dist/modules/components/hoverable.d.ts +11 -0
- package/dist/modules/components/hoverable_list_item.d.ts +9 -0
- package/dist/modules/components/notification_bell.d.ts +6 -0
- package/dist/modules/components/notification_item.d.ts +11 -0
- package/dist/modules/components/notifications_menu.d.ts +19 -0
- package/dist/modules/components/notifications_menu_blank_state.d.ts +8 -0
- package/dist/modules/components/notifications_menu_wrapper.d.ts +7 -0
- package/dist/modules/components/outsider.d.ts +13 -0
- package/dist/modules/components/popover_root.d.ts +6 -0
- package/dist/modules/components/popup.d.ts +9 -0
- package/dist/modules/components/popup_root.d.ts +6 -0
- package/dist/modules/components/spinner.d.ts +4 -0
- package/dist/modules/connected_people_provider.d.ts +21 -0
- package/dist/modules/display_switch.d.ts +26 -0
- package/dist/modules/formatters.d.ts +15 -0
- package/dist/modules/get_apps_switch_product_path.d.ts +1 -0
- package/dist/modules/hooks/use_hover.d.ts +3 -0
- package/dist/modules/hooks/use_notifications.d.ts +15 -0
- package/dist/modules/medium_topbar.d.ts +42 -0
- package/dist/modules/mono_app_icon.d.ts +7 -0
- package/dist/modules/mono_app_name.d.ts +6 -0
- package/dist/modules/mono_app_symbols.d.ts +57 -0
- package/dist/modules/mono_app_text.d.ts +66 -0
- package/dist/modules/not_small_topbar.d.ts +48 -0
- package/dist/modules/platform_announcements.d.ts +31 -0
- package/dist/modules/product_announcement.d.ts +20 -0
- package/dist/modules/small_topbar.d.ts +45 -0
- package/dist/modules/styled_root.d.ts +6 -0
- package/dist/modules/styles.d.ts +9 -0
- package/dist/modules/symbols.d.ts +42 -0
- package/dist/modules/unbutton.d.ts +11 -0
- package/dist/topbar.css +1 -1
- package/dist/topbar.css.map +1 -1
- package/dist/topbar.js +1 -1
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.css +2 -0
- package/dist/topbar.modern.css.map +1 -0
- package/dist/topbar.modern.js +1 -1
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.css +2 -0
- package/dist/topbar.module.css.map +1 -0
- 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 +3 -13
- package/dist/types/modules/apps_provider.d.ts.map +1 -1
- package/dist/types/modules/avatar.d.ts +2 -3
- package/dist/types/modules/avatar.d.ts.map +1 -1
- package/dist/types/modules/client_storage.d.ts +2 -2
- package/dist/types/modules/client_storage.d.ts.map +1 -1
- package/dist/types/modules/color_app_icon.d.ts +0 -1
- package/dist/types/modules/color_app_icon.d.ts.map +1 -1
- package/dist/types/modules/color_app_squircles.d.ts +0 -1
- package/dist/types/modules/color_app_squircles.d.ts.map +1 -1
- package/dist/types/modules/colors.d.ts +3 -0
- package/dist/types/modules/colors.d.ts.map +1 -1
- package/dist/types/modules/components/apps_button.d.ts +0 -1
- package/dist/types/modules/components/apps_button.d.ts.map +1 -1
- package/dist/types/modules/components/apps_menu.d.ts +0 -1
- package/dist/types/modules/components/apps_menu.d.ts.map +1 -1
- package/dist/types/modules/components/conditional_wrap.d.ts +1 -1
- package/dist/types/modules/components/conditional_wrap.d.ts.map +1 -1
- package/dist/types/modules/components/eyebrow.d.ts +1 -1
- package/dist/types/modules/components/eyebrow.d.ts.map +1 -1
- package/dist/types/modules/components/hoverable.d.ts +2 -2
- package/dist/types/modules/components/hoverable.d.ts.map +1 -1
- package/dist/types/modules/components/hoverable_list_item.d.ts +1 -1
- package/dist/types/modules/components/hoverable_list_item.d.ts.map +1 -1
- package/dist/types/modules/components/notification_bell.d.ts +0 -1
- package/dist/types/modules/components/notification_bell.d.ts.map +1 -1
- package/dist/types/modules/components/notification_item.d.ts +0 -1
- package/dist/types/modules/components/notification_item.d.ts.map +1 -1
- package/dist/types/modules/components/notifications_menu.d.ts +2 -10
- package/dist/types/modules/components/notifications_menu.d.ts.map +1 -1
- package/dist/types/modules/components/notifications_menu_blank_state.d.ts +2 -2
- package/dist/types/modules/components/notifications_menu_blank_state.d.ts.map +1 -1
- package/dist/types/modules/components/notifications_menu_wrapper.d.ts +1 -1
- package/dist/types/modules/components/notifications_menu_wrapper.d.ts.map +1 -1
- package/dist/types/modules/components/outsider.d.ts +1 -1
- package/dist/types/modules/components/outsider.d.ts.map +1 -1
- package/dist/types/modules/components/popover_root.d.ts +1 -1
- package/dist/types/modules/components/popover_root.d.ts.map +1 -1
- package/dist/types/modules/components/popup.d.ts +1 -1
- package/dist/types/modules/components/popup.d.ts.map +1 -1
- package/dist/types/modules/components/popup_root.d.ts +1 -1
- package/dist/types/modules/components/popup_root.d.ts.map +1 -1
- package/dist/types/modules/components/spinner.d.ts +0 -1
- package/dist/types/modules/components/spinner.d.ts.map +1 -1
- package/dist/types/modules/connected_people_provider.d.ts +7 -6
- package/dist/types/modules/connected_people_provider.d.ts.map +1 -1
- package/dist/types/modules/display_switch.d.ts +2 -2
- package/dist/types/modules/display_switch.d.ts.map +1 -1
- package/dist/types/modules/dummy_data.d.ts +4 -0
- package/dist/types/modules/dummy_data.d.ts.map +1 -0
- package/dist/types/modules/error_boundary.d.ts +25 -0
- package/dist/types/modules/error_boundary.d.ts.map +1 -0
- package/dist/types/modules/get_login_profile_path.d.ts +2 -2
- package/dist/types/modules/get_login_profile_path.d.ts.map +1 -1
- package/dist/types/modules/hooks/use_local_notifications.d.ts +9 -0
- package/dist/types/modules/hooks/use_local_notifications.d.ts.map +1 -0
- package/dist/types/modules/hooks/use_notifications.d.ts.map +1 -1
- package/dist/types/modules/hooks/use_store.d.ts +3 -0
- package/dist/types/modules/hooks/use_store.d.ts.map +1 -0
- package/dist/types/modules/hooks/use_topbar_api.d.ts +2 -2
- package/dist/types/modules/hooks/use_topbar_api.d.ts.map +1 -1
- package/dist/types/modules/medium_topbar.d.ts +39 -0
- package/dist/types/modules/medium_topbar.d.ts.map +1 -0
- package/dist/types/modules/mfa_status.d.ts +0 -1
- package/dist/types/modules/mfa_status.d.ts.map +1 -1
- package/dist/types/modules/mono_app_icon.d.ts +0 -1
- package/dist/types/modules/mono_app_icon.d.ts.map +1 -1
- package/dist/types/modules/mono_app_name.d.ts +0 -1
- package/dist/types/modules/mono_app_name.d.ts.map +1 -1
- package/dist/types/modules/mono_app_symbols.d.ts +0 -1
- package/dist/types/modules/mono_app_symbols.d.ts.map +1 -1
- package/dist/types/modules/mono_app_text.d.ts +0 -1
- package/dist/types/modules/mono_app_text.d.ts.map +1 -1
- package/dist/types/modules/not_small_topbar/helpdesk_trigger.d.ts +4 -0
- package/dist/types/modules/not_small_topbar/helpdesk_trigger.d.ts.map +1 -0
- package/dist/types/modules/not_small_topbar/index.d.ts +26 -0
- package/dist/types/modules/not_small_topbar/index.d.ts.map +1 -0
- package/dist/types/modules/not_small_topbar/user_menu.d.ts +23 -0
- package/dist/types/modules/not_small_topbar/user_menu.d.ts.map +1 -0
- package/dist/types/modules/not_small_topbar/user_menu_trigger.d.ts +16 -0
- package/dist/types/modules/not_small_topbar/user_menu_trigger.d.ts.map +1 -0
- package/dist/types/modules/not_small_topbar.d.ts +1 -1
- package/dist/types/modules/not_small_topbar.d.ts.map +1 -1
- package/dist/types/modules/platform_announcements.d.ts +3 -3
- package/dist/types/modules/platform_announcements.d.ts.map +1 -1
- package/dist/types/modules/product_announcement.d.ts +1 -1
- package/dist/types/modules/product_announcement.d.ts.map +1 -1
- package/dist/types/modules/profile_container.d.ts +10 -0
- package/dist/types/modules/profile_container.d.ts.map +1 -0
- package/dist/types/modules/small_topbar/account_settings_link.d.ts +5 -0
- package/dist/types/modules/small_topbar/account_settings_link.d.ts.map +1 -0
- package/dist/types/modules/small_topbar/close_menu_button.d.ts +6 -0
- package/dist/types/modules/small_topbar/close_menu_button.d.ts.map +1 -0
- package/dist/types/modules/small_topbar/index.d.ts +17 -0
- package/dist/types/modules/small_topbar/index.d.ts.map +1 -0
- package/dist/types/modules/small_topbar/linked_accounts.d.ts +11 -0
- package/dist/types/modules/small_topbar/linked_accounts.d.ts.map +1 -0
- package/dist/types/modules/small_topbar/login_settings_link.d.ts +9 -0
- package/dist/types/modules/small_topbar/login_settings_link.d.ts.map +1 -0
- package/dist/types/modules/small_topbar/profile_link.d.ts +5 -0
- package/dist/types/modules/small_topbar/profile_link.d.ts.map +1 -0
- package/dist/types/modules/small_topbar/user_info.d.ts +13 -0
- package/dist/types/modules/small_topbar/user_info.d.ts.map +1 -0
- package/dist/types/modules/small_topbar/user_menu_trigger.d.ts +9 -0
- package/dist/types/modules/small_topbar/user_menu_trigger.d.ts.map +1 -0
- package/dist/types/modules/small_topbar/user_name.d.ts +5 -0
- package/dist/types/modules/small_topbar/user_name.d.ts.map +1 -0
- package/dist/types/modules/small_topbar.d.ts +0 -1
- package/dist/types/modules/small_topbar.d.ts.map +1 -1
- package/dist/types/modules/styled_root.d.ts +0 -1
- package/dist/types/modules/styled_root.d.ts.map +1 -1
- package/dist/types/modules/symbols.d.ts +2 -2
- package/dist/types/modules/symbols.d.ts.map +1 -1
- package/dist/types/modules/theme.d.ts +5 -0
- package/dist/types/modules/theme.d.ts.map +1 -0
- package/dist/types/modules/toolbar/components/drawer.d.ts +5 -0
- package/dist/types/modules/toolbar/components/drawer.d.ts.map +1 -0
- package/dist/types/modules/toolbar/components/drawer_header.d.ts +5 -0
- package/dist/types/modules/toolbar/components/drawer_header.d.ts.map +1 -0
- package/dist/types/modules/toolbar/components/drawer_heading.d.ts +5 -0
- package/dist/types/modules/toolbar/components/drawer_heading.d.ts.map +1 -0
- package/dist/types/modules/toolbar/components/index.d.ts +6 -0
- package/dist/types/modules/toolbar/components/index.d.ts.map +1 -0
- package/dist/types/modules/toolbar/components/switch_view.d.ts +8 -0
- package/dist/types/modules/toolbar/components/switch_view.d.ts.map +1 -0
- package/dist/types/modules/toolbar/components/user_profile.d.ts +11 -0
- package/dist/types/modules/toolbar/components/user_profile.d.ts.map +1 -0
- package/dist/types/modules/toolbar/hooks/index.d.ts +2 -0
- package/dist/types/modules/toolbar/hooks/index.d.ts.map +1 -0
- package/dist/types/modules/toolbar/hooks/use-toolbar-reducer.d.ts +20 -0
- package/dist/types/modules/toolbar/hooks/use-toolbar-reducer.d.ts.map +1 -0
- package/dist/types/modules/toolbar/hooks/use_toolbar_reducer.d.ts +20 -0
- package/dist/types/modules/toolbar/hooks/use_toolbar_reducer.d.ts.map +1 -0
- package/dist/types/modules/toolbar/index.d.ts +13 -0
- package/dist/types/modules/toolbar/index.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/index.d.ts +3 -0
- package/dist/types/modules/toolbar/tools/index.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/notifications.d.ts +4 -0
- package/dist/types/modules/toolbar/tools/notifications.d.ts.map +1 -0
- package/dist/types/modules/toolbar/tools/tasks.d.ts +4 -0
- package/dist/types/modules/toolbar/tools/tasks.d.ts.map +1 -0
- package/dist/types/modules/toolbar/useStore.d.ts +3 -0
- package/dist/types/modules/toolbar/useStore.d.ts.map +1 -0
- package/dist/types/modules/topbar_context.d.ts +1 -0
- package/dist/types/modules/topbar_context.d.ts.map +1 -1
- package/dist/types/modules/unbutton.d.ts +0 -1
- package/dist/types/modules/unbutton.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 +14 -3
- package/CHANGELOG.md +0 -217
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function Accounts({ color, size, ...platformProps }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
color: any;
|
|
5
|
+
size?: number;
|
|
6
|
+
}): JSX.Element;
|
|
7
|
+
export declare function API({ color, size, ...platformProps }: {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
color: any;
|
|
10
|
+
size?: number;
|
|
11
|
+
}): JSX.Element;
|
|
12
|
+
export declare function Calendar({ color, size, ...platformProps }: {
|
|
13
|
+
[x: string]: any;
|
|
14
|
+
color: any;
|
|
15
|
+
size?: number;
|
|
16
|
+
}): JSX.Element;
|
|
17
|
+
export declare function CheckIns({ color, size, ...platformProps }: {
|
|
18
|
+
[x: string]: any;
|
|
19
|
+
color: any;
|
|
20
|
+
size?: number;
|
|
21
|
+
}): JSX.Element;
|
|
22
|
+
export declare function ChurchCenter({ color, size, ...platformProps }: {
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
color: any;
|
|
25
|
+
size?: number;
|
|
26
|
+
}): JSX.Element;
|
|
27
|
+
export declare function Giving({ color, size, ...platformProps }: {
|
|
28
|
+
[x: string]: any;
|
|
29
|
+
color: any;
|
|
30
|
+
size?: number;
|
|
31
|
+
}): JSX.Element;
|
|
32
|
+
export declare function Home({ color, size, ...platformProps }: {
|
|
33
|
+
[x: string]: any;
|
|
34
|
+
color: any;
|
|
35
|
+
size?: number;
|
|
36
|
+
}): JSX.Element;
|
|
37
|
+
export declare function Groups({ color, size, ...platformProps }: {
|
|
38
|
+
[x: string]: any;
|
|
39
|
+
color: any;
|
|
40
|
+
size?: number;
|
|
41
|
+
}): JSX.Element;
|
|
42
|
+
export declare function People({ color, size, ...platformProps }: {
|
|
43
|
+
[x: string]: any;
|
|
44
|
+
color: any;
|
|
45
|
+
size?: number;
|
|
46
|
+
}): JSX.Element;
|
|
47
|
+
export declare function Publishing({ color, size, ...platformProps }: {
|
|
48
|
+
[x: string]: any;
|
|
49
|
+
color: any;
|
|
50
|
+
size?: number;
|
|
51
|
+
}): JSX.Element;
|
|
52
|
+
export declare function Registrations({ color, size, ...platformProps }: {
|
|
53
|
+
[x: string]: any;
|
|
54
|
+
color: any;
|
|
55
|
+
size?: number;
|
|
56
|
+
}): JSX.Element;
|
|
57
|
+
export declare function Resources({ color, size, ...platformProps }: {
|
|
58
|
+
[x: string]: any;
|
|
59
|
+
color: any;
|
|
60
|
+
size?: number;
|
|
61
|
+
}): JSX.Element;
|
|
62
|
+
export declare function Services({ color, size, ...platformProps }: {
|
|
63
|
+
[x: string]: any;
|
|
64
|
+
color: any;
|
|
65
|
+
size?: number;
|
|
66
|
+
}): JSX.Element;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as PCO_URL from "@planningcenter/url";
|
|
3
|
+
declare const Topbar: {
|
|
4
|
+
(props: {
|
|
5
|
+
apps: {
|
|
6
|
+
attributes: {
|
|
7
|
+
name: string;
|
|
8
|
+
url: string;
|
|
9
|
+
};
|
|
10
|
+
}[];
|
|
11
|
+
activeRoute: string;
|
|
12
|
+
env: PCO_URL.Environment;
|
|
13
|
+
appName: string;
|
|
14
|
+
routes: any;
|
|
15
|
+
colors: any;
|
|
16
|
+
userAvatarPath: string;
|
|
17
|
+
userId: string;
|
|
18
|
+
userName: string;
|
|
19
|
+
orgName: string;
|
|
20
|
+
connectedPeople: any;
|
|
21
|
+
search?: any;
|
|
22
|
+
style?: any;
|
|
23
|
+
showOrgName?: boolean;
|
|
24
|
+
requestAppsFetch: any;
|
|
25
|
+
requestConnectedPeopleFetch: any;
|
|
26
|
+
requestUnlinkConnectedPeople: any;
|
|
27
|
+
requestSwitchConnectedPerson: any;
|
|
28
|
+
requestClearAppsCache: any;
|
|
29
|
+
requestClearConnectedPeopleCache: any;
|
|
30
|
+
useDummyNotifications?: boolean;
|
|
31
|
+
linkToProfile?: boolean;
|
|
32
|
+
onLinkToProfileClick?: () => any;
|
|
33
|
+
}): JSX.Element;
|
|
34
|
+
defaultProps: {
|
|
35
|
+
search: () => any;
|
|
36
|
+
linkToProfile: boolean;
|
|
37
|
+
showOrgName: boolean;
|
|
38
|
+
useDummyNotifications: boolean;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
declare const Route: ({ active, colors, style, ...nativeProps }: {
|
|
42
|
+
active: boolean;
|
|
43
|
+
children: React.ReactNode;
|
|
44
|
+
colors: any;
|
|
45
|
+
href?: string;
|
|
46
|
+
style?: object;
|
|
47
|
+
}) => JSX.Element;
|
|
48
|
+
export { Topbar, Route };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as PCO_URL from "@planningcenter/url";
|
|
3
|
+
import { Fetch } from "./api_request";
|
|
4
|
+
export declare class StyledAnnouncement extends React.Component<{
|
|
5
|
+
style?: object;
|
|
6
|
+
}, {}> {
|
|
7
|
+
render(): JSX.Element;
|
|
8
|
+
}
|
|
9
|
+
export declare class StyleProvider extends React.Component<{
|
|
10
|
+
style?: object;
|
|
11
|
+
className?: string;
|
|
12
|
+
colors: any;
|
|
13
|
+
}, {}> {
|
|
14
|
+
render(): JSX.Element;
|
|
15
|
+
}
|
|
16
|
+
export default class PlatformAnnouncements extends React.Component<{
|
|
17
|
+
colors: any;
|
|
18
|
+
env: PCO_URL.Environment;
|
|
19
|
+
data: object;
|
|
20
|
+
renderItem?: any;
|
|
21
|
+
configuredFetch?: Fetch;
|
|
22
|
+
}, {}> {
|
|
23
|
+
static defaultProps: {
|
|
24
|
+
renderItem: ({ announcement, actions }: {
|
|
25
|
+
announcement: any;
|
|
26
|
+
actions: any;
|
|
27
|
+
}) => JSX.Element;
|
|
28
|
+
configuredFetch: typeof fetch;
|
|
29
|
+
};
|
|
30
|
+
render(): JSX.Element;
|
|
31
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export declare function ProductAnnouncement({ colors, html, onClick, ...props }: {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
colors: any;
|
|
5
|
+
html?: string;
|
|
6
|
+
onClick?: (event: any) => void;
|
|
7
|
+
}): JSX.Element;
|
|
8
|
+
export declare class StyleProvider extends React.Component<{
|
|
9
|
+
style?: object;
|
|
10
|
+
className?: string;
|
|
11
|
+
colors: any;
|
|
12
|
+
}, {}> {
|
|
13
|
+
render(): JSX.Element;
|
|
14
|
+
}
|
|
15
|
+
export declare class StyledAnnouncement extends React.Component<{
|
|
16
|
+
style?: object;
|
|
17
|
+
}, {}> {
|
|
18
|
+
render(): JSX.Element;
|
|
19
|
+
}
|
|
20
|
+
export declare function StyledDismissButton({ ...props }: any): JSX.Element;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import * as PCO_URL from "@planningcenter/url";
|
|
3
|
+
declare const Topbar: {
|
|
4
|
+
(props: {
|
|
5
|
+
apps: {
|
|
6
|
+
attributes: {
|
|
7
|
+
name: string;
|
|
8
|
+
url: string;
|
|
9
|
+
};
|
|
10
|
+
}[];
|
|
11
|
+
env: PCO_URL.Environment;
|
|
12
|
+
appName: string;
|
|
13
|
+
routes: any;
|
|
14
|
+
colors: any;
|
|
15
|
+
userAvatarPath: string;
|
|
16
|
+
userId: string;
|
|
17
|
+
userName: string;
|
|
18
|
+
orgName: string;
|
|
19
|
+
connectedPeople: {
|
|
20
|
+
id: number;
|
|
21
|
+
attributes: {
|
|
22
|
+
name: string;
|
|
23
|
+
organization_name: string;
|
|
24
|
+
};
|
|
25
|
+
}[];
|
|
26
|
+
style?: any;
|
|
27
|
+
currentRouteComponent?: any;
|
|
28
|
+
requestAppsFetch: any;
|
|
29
|
+
requestConnectedPeopleFetch: any;
|
|
30
|
+
requestUnlinkConnectedPeople: any;
|
|
31
|
+
requestSwitchConnectedPerson: any;
|
|
32
|
+
requestClearAppsCache: any;
|
|
33
|
+
requestClearConnectedPeopleCache: any;
|
|
34
|
+
useDummyNotifications?: boolean;
|
|
35
|
+
notifications?: any;
|
|
36
|
+
}): JSX.Element;
|
|
37
|
+
defaultProps: {
|
|
38
|
+
currentRouteComponent: (props: any) => JSX.Element;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
declare const Route: ({ active, ...props }: {
|
|
42
|
+
[x: string]: any;
|
|
43
|
+
active: any;
|
|
44
|
+
}) => JSX.Element;
|
|
45
|
+
export { Route, Topbar };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Bell: ({ dot, dotFill, fill, style, ...props }: {
|
|
3
|
+
dot?: boolean;
|
|
4
|
+
dotFill?: string;
|
|
5
|
+
fill?: string;
|
|
6
|
+
style?: object;
|
|
7
|
+
}) => JSX.Element;
|
|
8
|
+
export declare const BlankStateIcon: ({ dark, style, ...nativeProps }: {
|
|
9
|
+
dark?: boolean;
|
|
10
|
+
style?: object;
|
|
11
|
+
}) => JSX.Element;
|
|
12
|
+
export declare const ChevronIcon: ({ fill, size, style, ...nativeProps }: {
|
|
13
|
+
fill?: string;
|
|
14
|
+
size?: number;
|
|
15
|
+
style?: object;
|
|
16
|
+
}) => JSX.Element;
|
|
17
|
+
export declare const Cog: ({ fill, size, style, ...nativeProps }: {
|
|
18
|
+
fill?: string;
|
|
19
|
+
size?: number;
|
|
20
|
+
style?: object;
|
|
21
|
+
}) => JSX.Element;
|
|
22
|
+
export declare const DisclosureChevronIcon: ({ colors, style, ...nativeProps }: {
|
|
23
|
+
colors: any;
|
|
24
|
+
style?: object;
|
|
25
|
+
}) => JSX.Element;
|
|
26
|
+
export declare const HelpIcon: ({ colors, style, ...nativeProps }: {
|
|
27
|
+
colors: any;
|
|
28
|
+
style?: object;
|
|
29
|
+
}) => JSX.Element;
|
|
30
|
+
export declare const ExclamationTriangle: ({ fill, size, style, ...nativeProps }: {
|
|
31
|
+
fill?: string;
|
|
32
|
+
size: number;
|
|
33
|
+
style?: object;
|
|
34
|
+
}) => JSX.Element;
|
|
35
|
+
export declare const Spyglass: ({ fill, style, ...nativeProps }: {
|
|
36
|
+
fill?: string;
|
|
37
|
+
style?: object;
|
|
38
|
+
}) => JSX.Element;
|
|
39
|
+
export declare const X: ({ fill, style, ...nativeProps }: {
|
|
40
|
+
fill?: string;
|
|
41
|
+
style?: object;
|
|
42
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function Unbutton({ style, ...nativeProps }: {
|
|
3
|
+
id?: string;
|
|
4
|
+
style?: object;
|
|
5
|
+
onClick?: any;
|
|
6
|
+
onMouseEnter?: any;
|
|
7
|
+
onMouseLeave?: any;
|
|
8
|
+
onMouseDown?: any;
|
|
9
|
+
onMouseUp?: any;
|
|
10
|
+
children: any;
|
|
11
|
+
}): JSX.Element;
|
package/dist/topbar.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.hide-scrollbar::-webkit-scrollbar{display:none}
|
|
1
|
+
.hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.hide-scrollbar::-webkit-scrollbar{display:none}
|
|
2
2
|
/*# sourceMappingURL=topbar.css.map */
|
package/dist/topbar.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["utils.css"
|
|
1
|
+
{"version":3,"sources":["utils.css"],"names":[],"mappings":"AAAA,gBACE,uBAAwB,CACxB,oBACF,CACA,mCACE,YACF","file":"topbar.css","sourcesContent":[".hide-scrollbar {\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n}\n.hide-scrollbar::-webkit-scrollbar {\n display: none; /* Chrome, Safari, and Opera */\n}\n"]}
|