@wso2/oxygen-ui 0.13.1 → 0.15.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.
@@ -0,0 +1,132 @@
1
+ /**
2
+ * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import * as React from 'react';
19
+ /**
20
+ * Theme tokens used in this component:
21
+ *
22
+ * Colors:
23
+ * - `background.paper` / `action.hover` - Card and tile surfaces
24
+ * - `divider` - Resting card border
25
+ * - `text.primary` / `text.secondary` / `text.disabled` - Typography
26
+ *
27
+ * Elevation:
28
+ * - `shadows[2]` - Hover elevation
29
+ *
30
+ * Brand (see `brand.ts`):
31
+ * - `APP_SWITCHER_BRAND.main` - Hover border
32
+ * - `APP_SWITCHER_BRAND.focus` - Focus ring and the current app's border
33
+ *
34
+ * Typography / sizing:
35
+ * - `typography.body2` - Name text
36
+ * - `spacing()` / `shape.borderRadius` - Card and tile dimensions
37
+ *
38
+ * Layout follows the agreed WSO2 Cloud design: the mark sits centered above a
39
+ * centered name. A card is a destination, so its whole
40
+ * surface is the hit target.
41
+ */
42
+ /**
43
+ * Visual treatments a card can take.
44
+ *
45
+ * - `platform` - Large brand-colored mark, used for the platform grid
46
+ * - `manage` - Smaller neutral mark on a grey disc, used for the manage row
47
+ */
48
+ export type AppSwitcherAppTone = 'platform' | 'manage';
49
+ /** Card height per tone, in `theme.spacing` units. Shared with the loading placeholders. */
50
+ export declare const APP_CARD_HEIGHT: Record<AppSwitcherAppTone, number>;
51
+ /**
52
+ * Props for the AppSwitcher.App component.
53
+ */
54
+ export interface AppSwitcherAppProps {
55
+ /** Identifier matched against the switcher's `currentAppId`. Not set as the DOM `id`. */
56
+ id?: string;
57
+ /** Application name (e.g. `"API Platform"`) */
58
+ name: string;
59
+ /**
60
+ * Destination URL. The card renders as an anchor pointing at it.
61
+ *
62
+ * `null` or a blank string marks the app as unavailable: without `onClick`
63
+ * or `component` it renders disabled with a "Coming soon" tooltip. Only
64
+ * `http:`, `https:` and relative URLs are used; any other scheme renders the
65
+ * card disabled.
66
+ */
67
+ url?: string | null;
68
+ /** Mark shown above the name (default: the WSO2 logo) */
69
+ icon?: React.ReactNode;
70
+ /** Visual treatment (default: `"manage"` inside the footer, `"platform"` elsewhere) */
71
+ tone?: AppSwitcherAppTone;
72
+ /** Disables navigation, e.g. for platforms that are not yet available */
73
+ disabled?: boolean;
74
+ /**
75
+ * Tooltip shown on hover and focus, typically explaining why a card is
76
+ * unavailable (e.g. `"Coming soon"`). Omit for no tooltip.
77
+ */
78
+ tooltip?: React.ReactNode;
79
+ /**
80
+ * Custom root component, e.g. a router `Link`, for client-side navigation.
81
+ * Router-specific props such as `to` are forwarded through.
82
+ *
83
+ * @example
84
+ * component={Link} componentProps={{ to: '/apim' }}
85
+ */
86
+ component?: React.ElementType;
87
+ /**
88
+ * Extra props forwarded to `component`, for routers that use their own
89
+ * navigation prop instead of `href` (e.g. React Router's `to`).
90
+ */
91
+ componentProps?: Record<string, unknown>;
92
+ /** Anchor target (default: `"_self"` for the current app, `"_blank"` otherwise) */
93
+ target?: string;
94
+ /** Marks this card as the current app, overriding the `currentAppId` match */
95
+ current?: boolean;
96
+ /** Shows progress and ignores clicks while an action runs, e.g. granting access */
97
+ busy?: boolean;
98
+ /** Click handler. The popover stays open after it runs, except on the current app. */
99
+ onClick?: (event: React.MouseEvent<HTMLElement>) => void;
100
+ }
101
+ /** A card described as data, for `AppSwitcher.Section`'s `apps`. */
102
+ export interface AppSwitcherAppItem extends Omit<AppSwitcherAppProps, 'id'> {
103
+ /** Stable identifier, used as the React key and to match `currentAppId` */
104
+ id: string;
105
+ }
106
+ /**
107
+ * AppSwitcher.App - Card button for a single destination in the switcher.
108
+ *
109
+ * Renders as an anchor when `url` is provided and as a button otherwise, so
110
+ * links keep native browser affordances (middle-click, open in new tab).
111
+ * Selecting a card leaves the popover open, since the card opens in a new tab.
112
+ *
113
+ * A `tooltip` explains a card's state on hover and focus — most often why an
114
+ * unavailable platform cannot be opened. Because unavailable cards carry
115
+ * `aria-disabled` rather than the native `disabled` attribute, they still
116
+ * receive pointer events, so the tooltip works on them.
117
+ *
118
+ * An app with `url: null` (or a blank `url`) and no `onClick` or `component`
119
+ * has nothing to offer, so it renders disabled with a "Coming soon" tooltip.
120
+ *
121
+ * The current app (`current`, or `id` matching `currentAppId`) opens in the
122
+ * same tab, so selecting it closes the popover.
123
+ *
124
+ * @example
125
+ * ```tsx
126
+ * <AppSwitcher.App name="API Platform" url="https://api.wso2.com" />
127
+ * <AppSwitcher.App name="Analytics Platform" disabled tooltip="Coming soon" />
128
+ * <AppSwitcher.App id="agent-manager" name="Agent Manager" url="https://agent.wso2.com" />
129
+ * ```
130
+ */
131
+ export declare const AppSwitcherApp: React.ForwardRefExoticComponent<AppSwitcherAppProps & React.RefAttributes<HTMLElement>>;
132
+ export default AppSwitcherApp;
@@ -0,0 +1,78 @@
1
+ /**
2
+ * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import * as React from 'react';
19
+ import type { AppSwitcherAppItem } from './AppSwitcherApp';
20
+ /**
21
+ * Theme tokens used in this component:
22
+ *
23
+ * Colors:
24
+ * - `divider` - Top separator
25
+ * - A 2% wash of the foreground color - Footer background, setting the manage
26
+ * row apart from the platform grid above it without reading as a grey block
27
+ */
28
+ /**
29
+ * A single WSO2 Cloud destination in the footer.
30
+ *
31
+ * Same shape as `AppSwitcherAppItem`, but `id` is optional since existing
32
+ * links use `key`. A missing `url` keeps its old behavior, so existing
33
+ * footers do not change; pass `url: null` to mark a link unavailable.
34
+ */
35
+ export interface AppSwitcherFooterLink extends Omit<AppSwitcherAppItem, 'id'> {
36
+ /** Stable identifier, used as the React key and to match `currentAppId` */
37
+ id?: string;
38
+ /** React key. Kept for existing links; prefer `id`. */
39
+ key?: string;
40
+ }
41
+ /**
42
+ * Props for the AppSwitcher.Footer component.
43
+ */
44
+ export interface AppSwitcherFooterProps {
45
+ /** Manage cards (typically `AppSwitcher.App` elements) */
46
+ children?: React.ReactNode;
47
+ /** WSO2 Cloud destinations rendered as cards, as an alternative to `children` */
48
+ links?: AppSwitcherFooterLink[];
49
+ /** Heading above the links (default: `"Manage"`) */
50
+ label?: string;
51
+ /** Number of grid columns from the `sm` breakpoint up (default: 3) */
52
+ columns?: number;
53
+ /** Shows placeholder cards, e.g. while the links are fetched */
54
+ loading?: boolean;
55
+ /** Number of placeholder cards while `loading` (default: one row, `columns`) */
56
+ loadingCount?: number;
57
+ }
58
+ /**
59
+ * AppSwitcher.Footer - Bottom section of the app switcher popover.
60
+ *
61
+ * Holds the WSO2 Cloud destinations (organizations, users, billing) as a
62
+ * labelled grid of cards, using the same card as the platform grid so both rows
63
+ * behave identically. The neutral mark and lighter type keep them visually
64
+ * secondary to the platforms above.
65
+ *
66
+ * Cards composed as children pick up the `manage` treatment automatically, so
67
+ * they do not need to repeat `tone="manage"`.
68
+ *
69
+ * @example
70
+ * ```tsx
71
+ * <AppSwitcher.Footer label="Manage">
72
+ * <AppSwitcher.App name="Organizations" url="https://console.wso2.com/organizations" />
73
+ * <AppSwitcher.App name="Billing" url="https://console.wso2.com/billing" />
74
+ * </AppSwitcher.Footer>
75
+ * ```
76
+ */
77
+ export declare const AppSwitcherFooter: React.FC<AppSwitcherFooterProps>;
78
+ export default AppSwitcherFooter;
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import * as React from 'react';
19
+ import type { AppSwitcherAppItem } from './AppSwitcherApp';
20
+ /**
21
+ * Renders data items as cards.
22
+ *
23
+ * `missingUrlIsUnavailable` treats an omitted `url` as `null`. The footer's
24
+ * older `links` turn it off so existing links without a `url` do not change.
25
+ *
26
+ * @internal
27
+ */
28
+ export declare const renderAppItems: (items: ReadonlyArray<Omit<AppSwitcherAppItem, "id"> & {
29
+ id?: string;
30
+ key?: string;
31
+ }>, { missingUrlIsUnavailable }: {
32
+ missingUrlIsUnavailable: boolean;
33
+ }) => React.ReactNode;
34
+ /**
35
+ * Props for the AppSwitcher.Section component.
36
+ */
37
+ export interface AppSwitcherSectionProps {
38
+ /** App cards (typically `AppSwitcher.App` elements) */
39
+ children?: React.ReactNode;
40
+ /**
41
+ * Apps rendered as cards, as an alternative to `children`. An app with no
42
+ * `url`, `onClick` or `component` renders disabled.
43
+ */
44
+ apps?: AppSwitcherAppItem[];
45
+ /** Section heading, rendered as an uppercase label (e.g. `"Platforms"`) */
46
+ label?: string;
47
+ /** Number of grid columns from the `sm` breakpoint up (default: 3) */
48
+ columns?: number;
49
+ /** Shows placeholder cards, e.g. while the apps are fetched */
50
+ loading?: boolean;
51
+ /** Number of placeholder cards while `loading` (default: one row, `columns`) */
52
+ loadingCount?: number;
53
+ }
54
+ /**
55
+ * AppSwitcher.Section - Labelled grid of applications inside the popover.
56
+ *
57
+ * Renders its children as a semantic list so assistive technology announces the
58
+ * number of available applications. The grid collapses to a single column on
59
+ * narrow viewports.
60
+ *
61
+ * @example
62
+ * ```tsx
63
+ * <AppSwitcher.Section label="Platforms">
64
+ * <AppSwitcher.App name="Agent Manager" url="https://agent.wso2.com" />
65
+ * <AppSwitcher.App name="API Platform" url="https://api.wso2.com" />
66
+ * </AppSwitcher.Section>
67
+ *
68
+ * <AppSwitcher.Section label="Platforms" apps={platforms} loading={isLoading} />
69
+ * ```
70
+ */
71
+ export declare const AppSwitcherSection: React.FC<AppSwitcherSectionProps>;
72
+ export default AppSwitcherSection;
@@ -0,0 +1,44 @@
1
+ /**
2
+ * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import * as React from 'react';
19
+ import IconButton from '@mui/material/IconButton';
20
+ /**
21
+ * Props for the AppSwitcher.Trigger component.
22
+ */
23
+ export interface AppSwitcherTriggerProps extends Omit<React.ComponentProps<typeof IconButton>, 'children'> {
24
+ /** Tooltip and accessible label for the trigger (default: `"Switch Platforms"`) */
25
+ label?: string;
26
+ /** Custom icon replacing the default grid icon */
27
+ icon?: React.ReactNode;
28
+ }
29
+ /**
30
+ * AppSwitcher.Trigger - Icon button that opens the app switcher popover.
31
+ *
32
+ * Renders the grid ("grip") icon used across WSO2 Cloud headers. Extra props,
33
+ * including `aria-*` attributes and `ref`, are forwarded to the underlying button.
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * <AppSwitcher>
38
+ * <AppSwitcher.Trigger />
39
+ * ...
40
+ * </AppSwitcher>
41
+ * ```
42
+ */
43
+ export declare const AppSwitcherTrigger: React.ForwardRefExoticComponent<Omit<AppSwitcherTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
44
+ export default AppSwitcherTrigger;
@@ -0,0 +1,49 @@
1
+ /**
2
+ * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ /**
19
+ * WSO2 brand colors used by the AppSwitcher.
20
+ *
21
+ * These are deliberately fixed rather than read from `palette.primary`: the
22
+ * switcher is WSO2 Cloud chrome, so it shows the brand orange even in a product
23
+ * running an indigo or grey theme.
24
+ *
25
+ * Contrast (WCAG 2.1 AA needs 4.5:1 for normal text): `main` (#FF7300) is
26
+ * 2.73:1 on white, so it is used only for decorative surfaces — the WSO2 mark
27
+ * and the hover border. Any brand-colored *text* would need a darker shade;
28
+ * the switcher has none.
29
+ *
30
+ * The focus indicator is author-defined, so WCAG 2.1 SC 1.4.11 holds it to
31
+ * 3:1 against the adjacent surface. `main` misses that, so `focus` (#E56800)
32
+ * carries the ring instead: 3.33:1 on the light card (#FFFFFF) and 5.63:1 on
33
+ * the dark one (#121212). The current app's border needs the same 3:1.
34
+ *
35
+ * See https://github.com/wso2/oxygen-ui/issues/558 for the palette-wide
36
+ * contrast discussion.
37
+ */
38
+ export declare const APP_SWITCHER_BRAND: {
39
+ /** Full-strength WSO2 orange. Decorative surfaces only. */
40
+ readonly main: "#FF7300";
41
+ /**
42
+ * Darker orange reserved for the focus ring and the current app's border,
43
+ * where 3:1 against the card surface is required. Do not swap it back to
44
+ * `main`.
45
+ */
46
+ readonly focus: "#E56800";
47
+ /** Faded orange for the mark of a platform that is not yet available. */
48
+ readonly surfaceMark: "#FFC199";
49
+ };
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ import * as React from 'react';
19
+ /**
20
+ * Context value for the AppSwitcher compound component.
21
+ */
22
+ export interface AppSwitcherContextValue {
23
+ /** Whether the popover is open */
24
+ open: boolean;
25
+ /** Element the popover is anchored to */
26
+ anchorEl: HTMLElement | null;
27
+ /** Id of the popover surface, used for `aria-controls` on the trigger */
28
+ popoverId: string;
29
+ /** Opens the popover, anchoring it to the event target */
30
+ handleOpen: (event: React.MouseEvent<HTMLElement>) => void;
31
+ /** Closes the popover */
32
+ handleClose: () => void;
33
+ /** Id of the app the user is in */
34
+ currentAppId?: string;
35
+ /** Tooltip on unavailable cards */
36
+ unavailableLabel?: React.ReactNode;
37
+ }
38
+ /**
39
+ * Context for sharing state between AppSwitcher compound components.
40
+ */
41
+ export declare const AppSwitcherContext: React.Context<AppSwitcherContextValue | null>;
42
+ /**
43
+ * Hook to access AppSwitcher context.
44
+ * @throws Error if used outside AppSwitcher
45
+ */
46
+ export declare const useAppSwitcher: () => AppSwitcherContextValue;
47
+ /**
48
+ * Context marking the subtree inside `AppSwitcher.Footer`.
49
+ *
50
+ * Lets a composed `AppSwitcher.App` pick up the footer's `manage` treatment
51
+ * without every card repeating `tone="manage"`.
52
+ */
53
+ export declare const AppSwitcherFooterContext: React.Context<boolean>;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ export { AppSwitcher, default } from './AppSwitcher';
19
+ export type { AppSwitcherProps } from './AppSwitcher';
20
+ export { AppSwitcherTrigger } from './AppSwitcherTrigger';
21
+ export type { AppSwitcherTriggerProps } from './AppSwitcherTrigger';
22
+ export { AppSwitcherSection } from './AppSwitcherSection';
23
+ export type { AppSwitcherSectionProps } from './AppSwitcherSection';
24
+ export { AppSwitcherApp } from './AppSwitcherApp';
25
+ export type { AppSwitcherAppProps, AppSwitcherAppItem, AppSwitcherAppTone } from './AppSwitcherApp';
26
+ export { AppSwitcherFooter } from './AppSwitcherFooter';
27
+ export type { AppSwitcherFooterProps, AppSwitcherFooterLink } from './AppSwitcherFooter';
28
+ export { AppSwitcherContext, useAppSwitcher } from './context';
29
+ export type { AppSwitcherContextValue } from './context';
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright (c) 2026, WSO2 LLC. (https://www.wso2.com).
3
+ *
4
+ * WSO2 LLC. licenses this file to you under the Apache License,
5
+ * Version 2.0 (the "License"); you may not use this file except
6
+ * in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing,
12
+ * software distributed under the License is distributed on an
13
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ * KIND, either express or implied. See the License for the
15
+ * specific language governing permissions and limitations
16
+ * under the License.
17
+ */
18
+ /**
19
+ * Whether a URL is safe to put into a card's `href`.
20
+ *
21
+ * Card URLs can come from fetched data. Parsing with `URL` sees the scheme as
22
+ * the browser does, so tricks like `" JaVa\tScript:"` cannot slip past.
23
+ */
24
+ export declare const isSafeAppUrl: (url: string) => boolean;
@@ -58,7 +58,7 @@ export interface UserMenuProps {
58
58
  * <UserMenu.Item icon={<UserIcon />} label="Profile" onClick={...} />
59
59
  * <UserMenu.Item icon={<Settings />} label="Settings" onClick={...} />
60
60
  * <UserMenu.Divider />
61
- * <UserMenu.Item icon={<LogOut />} label="Log out" destructive onClick={...} />
61
+ * <UserMenu.Logout icon={<LogOut />} label="Log out" onClick={...} />
62
62
  * </UserMenu>
63
63
  * ```
64
64
  */
@@ -28,6 +28,6 @@ export interface UserMenuLogoutProps {
28
28
  onClick?: () => void;
29
29
  }
30
30
  /**
31
- * UserMenu.Logout - Destructive menu item for logout action.
31
+ * UserMenu.Logout - Menu item for the sign-out action.
32
32
  */
33
33
  export declare const UserMenuLogout: React.FC<UserMenuLogoutProps>;
@@ -40,6 +40,8 @@ export { default as SearchBar } from './SearchBar/SearchBar';
40
40
  export type { SearchBarProps } from './SearchBar/SearchBar';
41
41
  export { Header } from './Header';
42
42
  export type { HeaderProps, HeaderSpacerProps, HeaderToggleProps, HeaderBrandProps, HeaderBrandLogoProps, HeaderBrandTitleProps, HeaderSwitchersProps, HeaderActionsProps, HeaderContextValue, } from './Header';
43
+ export { AppSwitcher } from './AppSwitcher';
44
+ export type { AppSwitcherProps, AppSwitcherTriggerProps, AppSwitcherSectionProps, AppSwitcherAppProps, AppSwitcherAppItem, AppSwitcherAppTone, AppSwitcherFooterProps, AppSwitcherFooterLink, AppSwitcherContextValue, } from './AppSwitcher';
43
45
  export { Sidebar, useSidebar } from './Sidebar';
44
46
  export type { SidebarProps, SidebarNavProps, SidebarCategoryProps, SidebarCategoryLabelProps, SidebarItemProps, SidebarItemIconProps, SidebarItemLabelProps, SidebarItemBadgeProps, SidebarFooterProps, SidebarUserProps, SidebarUserAvatarProps, SidebarUserNameProps, SidebarUserEmailProps, SidebarContextValue, SidebarItemContextValue, } from './Sidebar';
45
47
  export { NotificationPanel } from './NotificationPanel';