@wso2/oxygen-ui 0.0.1-alpha.9 → 0.1.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.
- package/.ai/AGENTS.md +78 -0
- package/.ai/components.md +798 -0
- package/.ai/migration.md +279 -0
- package/.ai/patterns.md +1185 -0
- package/.ai/theming.md +318 -0
- package/.claude/components.md +798 -0
- package/.claude/migration.md +279 -0
- package/.claude/patterns.md +1185 -0
- package/.claude/skills/oxygen-component/SKILL.md +141 -0
- package/.claude/skills/oxygen-form/SKILL.md +410 -0
- package/.claude/skills/oxygen-layout/SKILL.md +233 -0
- package/.claude/skills/oxygen-migrate/SKILL.md +277 -0
- package/.claude/theming.md +318 -0
- package/README.md +182 -2
- package/bin/cli.js +480 -0
- package/dist/animations/ParticleBackground/ParticleBackground.d.ts +66 -0
- package/dist/animations/ParticleBackground/index.d.ts +19 -0
- package/dist/animations/index.d.ts +18 -0
- package/dist/components/AppShell/AppShell.d.ts +69 -0
- package/dist/components/AppShell/AppShellFooter.d.ts +41 -0
- package/dist/components/AppShell/AppShellMain.d.ts +41 -0
- package/dist/components/AppShell/AppShellNavbar.d.ts +41 -0
- package/dist/components/AppShell/AppShellNotificationPanel.d.ts +41 -0
- package/dist/components/AppShell/AppShellSidebar.d.ts +41 -0
- package/dist/components/AppShell/index.d.ts +29 -0
- package/dist/components/CodeBlock/CodeBlock.d.ts +47 -0
- package/dist/components/CodeBlock/index.d.ts +19 -0
- package/dist/components/ColorSchemeImage/index.d.ts +19 -0
- package/dist/components/ColorSchemeToggle/index.d.ts +18 -0
- package/dist/components/ComplexSelect/ComplexSelect.d.ts +25 -0
- package/dist/components/ComplexSelect/ComplexSelectDivider.d.ts +4 -0
- package/dist/components/ComplexSelect/ComplexSelectListHeader.d.ts +7 -0
- package/dist/components/ComplexSelect/ComplexSelectMenuItem.d.ts +16 -0
- package/dist/components/ComplexSelect/ComplexSelectMenuItemAvatar.d.ts +7 -0
- package/dist/components/ComplexSelect/ComplexSelectMenuItemIcon.d.ts +7 -0
- package/dist/components/ComplexSelect/ComplexSelectMenuItemText.d.ts +8 -0
- package/dist/components/ComplexSelect/index.d.ts +21 -0
- package/dist/components/Footer/Footer.d.ts +71 -0
- package/dist/components/Footer/index.d.ts +19 -0
- package/dist/components/Form/CardButton.d.ts +30 -0
- package/dist/components/Form/ElementWrapper.d.ts +24 -0
- package/dist/components/Form/Section.d.ts +21 -0
- package/dist/components/Form/Stack.d.ts +19 -0
- package/dist/components/Form/Typography.d.ts +21 -0
- package/dist/components/Form/Wizard.d.ts +27 -0
- package/dist/components/Form/index.d.ts +38 -0
- package/dist/components/Header/Header.d.ts +89 -0
- package/dist/components/Header/HeaderActions.d.ts +42 -0
- package/dist/components/Header/HeaderBrand.d.ts +48 -0
- package/dist/components/Header/HeaderBrandLogo.d.ts +45 -0
- package/dist/components/Header/HeaderBrandTitle.d.ts +45 -0
- package/dist/components/Header/HeaderSwitchers.d.ts +45 -0
- package/dist/components/Header/HeaderToggle.d.ts +52 -0
- package/dist/components/Header/context.d.ts +34 -0
- package/dist/components/Header/index.d.ts +33 -0
- package/dist/components/ListingTable/ListingTable/ListingTable.d.ts +54 -0
- package/dist/components/ListingTable/ListingTable/ListingTableBody.d.ts +6 -0
- package/dist/components/ListingTable/ListingTable/ListingTableCell.d.ts +15 -0
- package/dist/components/ListingTable/ListingTable/ListingTableContainer.d.ts +17 -0
- package/dist/components/ListingTable/ListingTable/ListingTableFooter.d.ts +6 -0
- package/dist/components/ListingTable/ListingTable/ListingTableHead.d.ts +6 -0
- package/dist/components/ListingTable/ListingTable/ListingTableRow.d.ts +18 -0
- package/dist/components/ListingTable/ListingTable/index.d.ts +21 -0
- package/dist/components/ListingTable/ListingTableProvider.d.ts +28 -0
- package/dist/components/ListingTable/context.d.ts +78 -0
- package/dist/components/ListingTable/index.d.ts +22 -0
- package/dist/components/ListingTable/shared/ListingTableCellIcon.d.ts +31 -0
- package/dist/components/ListingTable/shared/ListingTableDensityControl.d.ts +26 -0
- package/dist/components/ListingTable/shared/ListingTableEmptyState.d.ts +32 -0
- package/dist/components/ListingTable/shared/ListingTableRowActions.d.ts +24 -0
- package/dist/components/ListingTable/shared/ListingTableSortLabel.d.ts +37 -0
- package/dist/components/ListingTable/shared/ListingTableToolbar.d.ts +52 -0
- package/dist/components/ListingTable/shared/index.d.ts +14 -0
- package/dist/components/ListingTable/shared/types.d.ts +5 -0
- package/dist/components/NotificationBanner/NotificationBanner.d.ts +69 -0
- package/dist/components/NotificationBanner/index.d.ts +19 -0
- package/dist/components/NotificationPanel/NotificationActions.d.ts +44 -0
- package/dist/components/NotificationPanel/NotificationEmptyState.d.ts +41 -0
- package/dist/components/NotificationPanel/NotificationHeader.d.ts +47 -0
- package/dist/components/NotificationPanel/NotificationHeaderBadge.d.ts +46 -0
- package/dist/components/NotificationPanel/NotificationHeaderClose.d.ts +46 -0
- package/dist/components/NotificationPanel/NotificationHeaderIcon.d.ts +43 -0
- package/dist/components/NotificationPanel/NotificationHeaderTitle.d.ts +43 -0
- package/dist/components/NotificationPanel/NotificationItem.d.ts +64 -0
- package/dist/components/NotificationPanel/NotificationItemAction.d.ts +46 -0
- package/dist/components/NotificationPanel/NotificationItemAvatar.d.ts +44 -0
- package/dist/components/NotificationPanel/NotificationItemContext.d.ts +52 -0
- package/dist/components/NotificationPanel/NotificationItemMessage.d.ts +47 -0
- package/dist/components/NotificationPanel/NotificationItemTimestamp.d.ts +46 -0
- package/dist/components/NotificationPanel/NotificationItemTitle.d.ts +49 -0
- package/dist/components/NotificationPanel/NotificationList.d.ts +37 -0
- package/dist/components/NotificationPanel/NotificationPanel.d.ts +122 -0
- package/dist/components/NotificationPanel/NotificationTabs.d.ts +51 -0
- package/dist/components/NotificationPanel/context.d.ts +34 -0
- package/dist/components/NotificationPanel/index.d.ts +55 -0
- package/dist/components/NotificationPanel/utils.d.ts +46 -0
- package/dist/components/PageContent/PageContent.d.ts +71 -0
- package/dist/components/PageContent/index.d.ts +2 -0
- package/dist/components/PageTitle/PageTitle.d.ts +34 -0
- package/dist/components/PageTitle/PageTitleAvatar.d.ts +16 -0
- package/dist/components/PageTitle/PageTitleHeader.d.ts +16 -0
- package/dist/components/PageTitle/PageTitleLink.d.ts +20 -0
- package/dist/components/PageTitle/PageTitleSubHeader.d.ts +16 -0
- package/dist/components/PageTitle/index.d.ts +27 -0
- package/dist/components/SearchBar/SearchBar.d.ts +5 -0
- package/dist/components/SearchBar/SearchBarWithAdvancedFilter.d.ts +26 -0
- package/dist/components/Sidebar/Sidebar.d.ts +120 -0
- package/dist/components/Sidebar/SidebarCategory.d.ts +47 -0
- package/dist/components/Sidebar/SidebarCategoryLabel.d.ts +47 -0
- package/dist/components/Sidebar/SidebarFooter.d.ts +38 -0
- package/dist/components/Sidebar/SidebarItem.d.ts +61 -0
- package/dist/components/Sidebar/SidebarItemBadge.d.ts +47 -0
- package/dist/components/Sidebar/SidebarItemContext.d.ts +49 -0
- package/dist/components/Sidebar/SidebarItemIcon.d.ts +47 -0
- package/dist/components/Sidebar/SidebarItemLabel.d.ts +44 -0
- package/dist/components/Sidebar/SidebarNav.d.ts +42 -0
- package/dist/components/Sidebar/SidebarUser.d.ts +57 -0
- package/dist/components/Sidebar/SidebarUserAvatar.d.ts +51 -0
- package/dist/components/Sidebar/SidebarUserEmail.d.ts +48 -0
- package/dist/components/Sidebar/SidebarUserName.d.ts +45 -0
- package/dist/components/Sidebar/context.d.ts +42 -0
- package/dist/components/Sidebar/index.d.ts +47 -0
- package/dist/components/StatCard/StatCard.d.ts +48 -0
- package/dist/components/StatCard/index.d.ts +2 -0
- package/dist/components/ThemeSwitcher/ThemeSelect.d.ts +37 -0
- package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +65 -0
- package/dist/components/ThemeSwitcher/index.d.ts +4 -0
- package/dist/components/UserMenu/UserMenu.d.ts +74 -0
- package/dist/components/UserMenu/index.d.ts +19 -0
- package/dist/components/index.d.ts +54 -0
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.d.ts +58 -3
- package/dist/contexts/OxygenUIThemeProvider/index.d.ts +20 -0
- package/dist/contexts/index.d.ts +19 -0
- package/dist/hooks/index.d.ts +22 -0
- package/dist/hooks/useAppShell/index.d.ts +19 -0
- package/dist/hooks/useAppShell/useAppShell.d.ts +81 -0
- package/dist/hooks/useNotifications/index.d.ts +19 -0
- package/dist/hooks/useNotifications/useNotifications.d.ts +105 -0
- package/dist/hooks/useThemeContent/index.d.ts +18 -0
- package/dist/hooks/useThemeContent/useThemeContent.d.ts +57 -0
- package/dist/index.d.ts +8 -4
- package/dist/index.js +5172 -252
- package/dist/index.js.map +4 -4
- package/dist/layouts/Layout.d.ts +3 -0
- package/dist/layouts/LayoutContent.d.ts +3 -0
- package/dist/layouts/LayoutHeader.d.ts +3 -0
- package/dist/layouts/LayoutNavbar.d.ts +3 -0
- package/dist/layouts/LayoutSidebar.d.ts +3 -0
- package/dist/styles/Themes/AcrylicBaseTheme.d.ts +25 -0
- package/dist/styles/Themes/AcrylicOrangeTheme.d.ts +17 -0
- package/dist/styles/Themes/AcrylicPurpleTheme.d.ts +20 -0
- package/dist/styles/Themes/ClassicTheme.d.ts +24 -0
- package/dist/styles/Themes/HighContrastTheme.d.ts +20 -0
- package/dist/styles/Themes/OxygenThemeBase.d.ts +70 -0
- package/dist/styles/Themes/index.d.ts +22 -0
- package/dist/styles/index.d.ts +18 -0
- package/dist/utils/formatRelativeTime.d.ts +34 -0
- package/dist/utils/index.d.ts +19 -0
- package/dist/utils/pxToRem.d.ts +23 -0
- package/package.json +20 -12
- package/dist/components/ColorSchemeImage/ColorSchemeImage.js +0 -57
- package/dist/components/ColorSchemeImage/ColorSchemeImage.js.map +0 -7
- package/dist/components/ColorSchemeToggle/ColorSchemeToggle.js +0 -76
- package/dist/components/ColorSchemeToggle/ColorSchemeToggle.js.map +0 -7
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.js +0 -378
- package/dist/contexts/OxygenUIThemeProvider/OxygenUIThemeProvider.js.map +0 -7
- package/dist/styles/OxygenTheme/OxygenTheme.d.ts +0 -38
- package/dist/styles/OxygenTheme/OxygenTheme.js +0 -356
- package/dist/styles/OxygenTheme/OxygenTheme.js.map +0 -7
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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
|
+
* Props for AppShellMain component.
|
|
21
|
+
*/
|
|
22
|
+
export interface AppShellMainProps {
|
|
23
|
+
/** Main content area */
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* AppShellMain - Slot component for the main content area.
|
|
28
|
+
*
|
|
29
|
+
* Used as a child of AppShell to define the primary content area.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <AppShell>
|
|
34
|
+
* <AppShell.Main>
|
|
35
|
+
* <Outlet />
|
|
36
|
+
* </AppShell.Main>
|
|
37
|
+
* </AppShell>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare const AppShellMain: React.FC<AppShellMainProps>;
|
|
41
|
+
export default AppShellMain;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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
|
+
* Props for AppShellNavbar component.
|
|
21
|
+
*/
|
|
22
|
+
export interface AppShellNavbarProps {
|
|
23
|
+
/** Navbar content (typically Header component) */
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* AppShellNavbar - Slot component for the navbar/header area.
|
|
28
|
+
*
|
|
29
|
+
* Used as a child of AppShell to define the top navigation bar.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <AppShell>
|
|
34
|
+
* <AppShell.Navbar>
|
|
35
|
+
* <Header>...</Header>
|
|
36
|
+
* </AppShell.Navbar>
|
|
37
|
+
* </AppShell>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare const AppShellNavbar: React.FC<AppShellNavbarProps>;
|
|
41
|
+
export default AppShellNavbar;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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
|
+
* Props for AppShellNotificationPanel component.
|
|
21
|
+
*/
|
|
22
|
+
export interface AppShellNotificationPanelProps {
|
|
23
|
+
/** Notification panel content (typically NotificationPanel component) */
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* AppShellNotificationPanel - Slot component for the notification panel overlay.
|
|
28
|
+
*
|
|
29
|
+
* Used as a child of AppShell to define the notification panel.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <AppShell>
|
|
34
|
+
* <AppShell.NotificationPanel>
|
|
35
|
+
* <NotificationPanel open={open} onClose={onClose}>...</NotificationPanel>
|
|
36
|
+
* </AppShell.NotificationPanel>
|
|
37
|
+
* </AppShell>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare const AppShellNotificationPanel: React.FC<AppShellNotificationPanelProps>;
|
|
41
|
+
export default AppShellNotificationPanel;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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
|
+
* Props for AppShellSidebar component.
|
|
21
|
+
*/
|
|
22
|
+
export interface AppShellSidebarProps {
|
|
23
|
+
/** Sidebar content (typically Sidebar component) */
|
|
24
|
+
children: React.ReactNode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* AppShellSidebar - Slot component for the sidebar area.
|
|
28
|
+
*
|
|
29
|
+
* Used as a child of AppShell to define the left sidebar navigation.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <AppShell>
|
|
34
|
+
* <AppShell.Sidebar>
|
|
35
|
+
* <Sidebar collapsed={collapsed}>...</Sidebar>
|
|
36
|
+
* </AppShell.Sidebar>
|
|
37
|
+
* </AppShell>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
export declare const AppShellSidebar: React.FC<AppShellSidebarProps>;
|
|
41
|
+
export default AppShellSidebar;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 { AppShell, default } from './AppShell';
|
|
19
|
+
export type { AppShellProps } from './AppShell';
|
|
20
|
+
export { AppShellNavbar } from './AppShellNavbar';
|
|
21
|
+
export type { AppShellNavbarProps } from './AppShellNavbar';
|
|
22
|
+
export { AppShellSidebar } from './AppShellSidebar';
|
|
23
|
+
export type { AppShellSidebarProps } from './AppShellSidebar';
|
|
24
|
+
export { AppShellMain } from './AppShellMain';
|
|
25
|
+
export type { AppShellMainProps } from './AppShellMain';
|
|
26
|
+
export { AppShellFooter } from './AppShellFooter';
|
|
27
|
+
export type { AppShellFooterProps } from './AppShellFooter';
|
|
28
|
+
export { AppShellNotificationPanel } from './AppShellNotificationPanel';
|
|
29
|
+
export type { AppShellNotificationPanelProps } from './AppShellNotificationPanel';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 React from 'react';
|
|
19
|
+
import 'prismjs/components/prism-javascript';
|
|
20
|
+
import 'prismjs/components/prism-typescript';
|
|
21
|
+
import 'prismjs/components/prism-jsx';
|
|
22
|
+
import 'prismjs/components/prism-tsx';
|
|
23
|
+
import 'prismjs/components/prism-css';
|
|
24
|
+
import 'prismjs/components/prism-bash';
|
|
25
|
+
import 'prismjs/components/prism-json';
|
|
26
|
+
import 'prismjs/components/prism-markup';
|
|
27
|
+
export interface CodeBlockProps {
|
|
28
|
+
/**
|
|
29
|
+
* The code to display
|
|
30
|
+
*/
|
|
31
|
+
code: string;
|
|
32
|
+
/**
|
|
33
|
+
* The programming language for syntax highlighting
|
|
34
|
+
* @default 'tsx'
|
|
35
|
+
*/
|
|
36
|
+
language?: 'javascript' | 'typescript' | 'jsx' | 'tsx' | 'css' | 'bash' | 'json' | 'markup' | 'html';
|
|
37
|
+
/**
|
|
38
|
+
* Show line numbers
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
showLineNumbers?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* CodeBlock component with syntax highlighting powered by Prism.js
|
|
45
|
+
*/
|
|
46
|
+
declare const CodeBlock: React.FC<CodeBlockProps>;
|
|
47
|
+
export default CodeBlock;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 { default } from './CodeBlock';
|
|
19
|
+
export * from './CodeBlock';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 { default } from './ColorSchemeImage';
|
|
19
|
+
export type { ColorSchemeImageProps, ColorSchemeImageAttribute } from './ColorSchemeImage';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 { ColorSchemeToggle, default } from './ColorSchemeToggle';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ReactNode, ReactElement } from 'react';
|
|
2
|
+
import { SelectProps } from '@mui/material/Select';
|
|
3
|
+
import ComplexSelectListHeader from './ComplexSelectListHeader';
|
|
4
|
+
import ComplexSelectMenuItem from './ComplexSelectMenuItem';
|
|
5
|
+
import ComplexSelectDivider from './ComplexSelectDivider';
|
|
6
|
+
export interface ComplexSelectProps extends Omit<SelectProps, 'children'> {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* The anchor position of the label when provided.
|
|
10
|
+
* - 'outside': Label appears above the select (default)
|
|
11
|
+
* - 'inside': Label appears inside the select field above the selected value.
|
|
12
|
+
* Icons are preserved but secondary text is automatically hidden for a cleaner display.
|
|
13
|
+
* - 'border': Label appears on the border (MUI standard behavior)
|
|
14
|
+
*/
|
|
15
|
+
labelAnchor?: 'outside' | 'inside' | 'border';
|
|
16
|
+
}
|
|
17
|
+
export declare function ComplexSelect({ children, sx, label, labelId, labelAnchor, ...props }: ComplexSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
interface ComplexSelectComponent {
|
|
19
|
+
(props: ComplexSelectProps): ReactElement;
|
|
20
|
+
ListHeader: typeof ComplexSelectListHeader;
|
|
21
|
+
MenuItem: typeof ComplexSelectMenuItem;
|
|
22
|
+
Divider: typeof ComplexSelectDivider;
|
|
23
|
+
}
|
|
24
|
+
declare const ComplexSelectCompound: ComplexSelectComponent;
|
|
25
|
+
export default ComplexSelectCompound;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DividerProps } from '@mui/material/Divider';
|
|
2
|
+
export type ComplexSelectDividerProps = DividerProps;
|
|
3
|
+
export declare function ComplexSelectDivider({ ...props }: ComplexSelectDividerProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default ComplexSelectDivider;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ListSubheaderProps } from '@mui/material/ListSubheader';
|
|
3
|
+
export interface ComplexSelectListHeaderProps extends ListSubheaderProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function ComplexSelectListHeader({ children, ...props }: ComplexSelectListHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default ComplexSelectListHeader;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactNode, ReactElement } from 'react';
|
|
2
|
+
import { MenuItemProps } from '@mui/material/MenuItem';
|
|
3
|
+
import ComplexSelectMenuItemAvatar from './ComplexSelectMenuItemAvatar';
|
|
4
|
+
import ComplexSelectMenuItemText from './ComplexSelectMenuItemText';
|
|
5
|
+
import ComplexSelectMenuItemIcon from './ComplexSelectMenuItemIcon';
|
|
6
|
+
export interface ComplexSelectMenuItemProps extends MenuItemProps {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
interface ComplexSelectMenuItemComponent {
|
|
10
|
+
(props: ComplexSelectMenuItemProps): ReactElement;
|
|
11
|
+
Avatar: typeof ComplexSelectMenuItemAvatar;
|
|
12
|
+
Text: typeof ComplexSelectMenuItemText;
|
|
13
|
+
Icon: typeof ComplexSelectMenuItemIcon;
|
|
14
|
+
}
|
|
15
|
+
export declare const ComplexSelectMenuItem: ComplexSelectMenuItemComponent;
|
|
16
|
+
export default ComplexSelectMenuItem;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { AvatarProps } from '@mui/material/Avatar';
|
|
3
|
+
export interface ComplexSelectMenuItemAvatarProps extends AvatarProps {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function ComplexSelectMenuItemAvatar({ children, ...props }: ComplexSelectMenuItemAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default ComplexSelectMenuItemAvatar;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ListItemIconProps } from '@mui/material/ListItemIcon';
|
|
3
|
+
export interface ComplexSelectMenuItemIconProps extends ListItemIconProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function ComplexSelectMenuItemIcon({ children, ...props }: ComplexSelectMenuItemIconProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default ComplexSelectMenuItemIcon;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ListItemTextProps } from '@mui/material/ListItemText';
|
|
3
|
+
export interface ComplexSelectMenuItemTextProps extends ListItemTextProps {
|
|
4
|
+
primary: ReactNode;
|
|
5
|
+
secondary?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export declare function ComplexSelectMenuItemText({ primary, secondary, ...props }: ComplexSelectMenuItemTextProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ComplexSelectMenuItemText;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { default } from './ComplexSelect';
|
|
2
|
+
export { ComplexSelect } from './ComplexSelect';
|
|
3
|
+
export type { ComplexSelectProps } from './ComplexSelect';
|
|
4
|
+
export { default as ComplexSelectListHeader } from './ComplexSelectListHeader';
|
|
5
|
+
export { ComplexSelectListHeader as ListHeader } from './ComplexSelectListHeader';
|
|
6
|
+
export type { ComplexSelectListHeaderProps } from './ComplexSelectListHeader';
|
|
7
|
+
export { default as ComplexSelectMenuItem } from './ComplexSelectMenuItem';
|
|
8
|
+
export { ComplexSelectMenuItem as MenuItem } from './ComplexSelectMenuItem';
|
|
9
|
+
export type { ComplexSelectMenuItemProps } from './ComplexSelectMenuItem';
|
|
10
|
+
export { default as ComplexSelectMenuItemAvatar } from './ComplexSelectMenuItemAvatar';
|
|
11
|
+
export { ComplexSelectMenuItemAvatar as MenuItemAvatar } from './ComplexSelectMenuItemAvatar';
|
|
12
|
+
export type { ComplexSelectMenuItemAvatarProps } from './ComplexSelectMenuItemAvatar';
|
|
13
|
+
export { default as ComplexSelectMenuItemText } from './ComplexSelectMenuItemText';
|
|
14
|
+
export { ComplexSelectMenuItemText as MenuItemText } from './ComplexSelectMenuItemText';
|
|
15
|
+
export type { ComplexSelectMenuItemTextProps } from './ComplexSelectMenuItemText';
|
|
16
|
+
export { default as ComplexSelectMenuItemIcon } from './ComplexSelectMenuItemIcon';
|
|
17
|
+
export { ComplexSelectMenuItemIcon as MenuItemIcon } from './ComplexSelectMenuItemIcon';
|
|
18
|
+
export type { ComplexSelectMenuItemIconProps } from './ComplexSelectMenuItemIcon';
|
|
19
|
+
export { default as ComplexSelectDivider } from './ComplexSelectDivider';
|
|
20
|
+
export { ComplexSelectDivider as Divider } from './ComplexSelectDivider';
|
|
21
|
+
export type { ComplexSelectDividerProps } from './ComplexSelectDivider';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 { SxProps, Theme } from '@mui/material/styles';
|
|
20
|
+
/**
|
|
21
|
+
* Props for the Footer component.
|
|
22
|
+
*/
|
|
23
|
+
export interface FooterProps {
|
|
24
|
+
/** Copyright text (defaults to current year) */
|
|
25
|
+
copyright?: string;
|
|
26
|
+
/** Company/organization name */
|
|
27
|
+
companyName?: string;
|
|
28
|
+
/** Link to terms and conditions */
|
|
29
|
+
termsUrl?: string;
|
|
30
|
+
/** Link to privacy policy */
|
|
31
|
+
privacyUrl?: string;
|
|
32
|
+
/** Optional version string to display */
|
|
33
|
+
version?: string;
|
|
34
|
+
/** Additional links to display */
|
|
35
|
+
links?: Array<{
|
|
36
|
+
label: string;
|
|
37
|
+
url: string;
|
|
38
|
+
}>;
|
|
39
|
+
/** Additional sx props */
|
|
40
|
+
sx?: SxProps<Theme>;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Footer - Application footer component.
|
|
44
|
+
*
|
|
45
|
+
* A minimal, clean footer that displays copyright information and legal links.
|
|
46
|
+
* Designed to sit at the bottom of the main content area.
|
|
47
|
+
*
|
|
48
|
+
* Features:
|
|
49
|
+
* - Copyright text with automatic year
|
|
50
|
+
* - Terms & Conditions link
|
|
51
|
+
* - Privacy Policy link
|
|
52
|
+
* - Optional version display
|
|
53
|
+
* - Custom additional links support
|
|
54
|
+
* - Responsive layout (stacks on mobile)
|
|
55
|
+
*
|
|
56
|
+
* Usage:
|
|
57
|
+
* ```tsx
|
|
58
|
+
* <Footer
|
|
59
|
+
* companyName="Acme Corporation"
|
|
60
|
+
* termsUrl="/terms"
|
|
61
|
+
* privacyUrl="/privacy"
|
|
62
|
+
* version="v2.1.0"
|
|
63
|
+
* links={[
|
|
64
|
+
* { label: 'Documentation', url: '/docs' },
|
|
65
|
+
* { label: 'Status', url: '/status' },
|
|
66
|
+
* ]}
|
|
67
|
+
* />
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
export declare const Footer: React.FC<FooterProps>;
|
|
71
|
+
export default Footer;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 { Footer, default } from './Footer';
|
|
19
|
+
export type { FooterProps } from './Footer';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 React from 'react';
|
|
19
|
+
import { Card, BoxProps } from '@mui/material';
|
|
20
|
+
export interface CardButtonProps extends CardProps {
|
|
21
|
+
alignItems?: 'flex-start' | 'center' | 'flex-end';
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
onClick?: () => void;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
selected?: boolean;
|
|
26
|
+
}
|
|
27
|
+
type CardProps = React.ComponentProps<typeof Card>;
|
|
28
|
+
export declare const CardButton: (props: CardButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare const DisappearingCardButtonContent: (props: BoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export { CardHeader, CardContent, CardActions, CardMedia } from "@mui/material";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 React from 'react';
|
|
19
|
+
export interface ElementWrapperProps {
|
|
20
|
+
label: string;
|
|
21
|
+
name: string;
|
|
22
|
+
children?: React.ReactNode;
|
|
23
|
+
}
|
|
24
|
+
export declare const ElementWrapper: (props: ElementWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 React from 'react';
|
|
19
|
+
export declare const Section: ({ children }: {
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 { StackProps } from "@mui/material";
|
|
19
|
+
export declare const Stack: (props: StackProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 { TypographyProps } from "@mui/material";
|
|
19
|
+
export declare const Header: (props: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const Subheader: (props: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare const Body: (props: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, 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 type WizardStep = {
|
|
19
|
+
label: string;
|
|
20
|
+
component: React.ReactNode;
|
|
21
|
+
};
|
|
22
|
+
export type WizardProps = {
|
|
23
|
+
steps: WizardStep[];
|
|
24
|
+
activeStep: number;
|
|
25
|
+
actions?: React.ReactNode;
|
|
26
|
+
};
|
|
27
|
+
export declare function Wizard({ steps, activeStep, actions }: WizardProps): import("react/jsx-runtime").JSX.Element;
|