@wso2/oxygen-ui 0.0.1-alpha.9 → 0.2.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 +5189 -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,78 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ListingTableDensity, ListingTableVariant } from './shared/types';
|
|
3
|
+
/**
|
|
4
|
+
* Sort direction for table columns.
|
|
5
|
+
*/
|
|
6
|
+
export type ListingTableSortDirection = 'asc' | 'desc';
|
|
7
|
+
/**
|
|
8
|
+
* Context value for ListingTable data operations.
|
|
9
|
+
* All properties are optional to support progressive enhancement.
|
|
10
|
+
*/
|
|
11
|
+
export interface ListingTableContextValue {
|
|
12
|
+
/** Current search query */
|
|
13
|
+
searchValue?: string;
|
|
14
|
+
/** Handler for search value changes */
|
|
15
|
+
onSearchChange?: (value: string) => void;
|
|
16
|
+
/** Currently sorted field/column key */
|
|
17
|
+
sortField?: string;
|
|
18
|
+
/** Sort direction */
|
|
19
|
+
sortDirection?: ListingTableSortDirection;
|
|
20
|
+
/** Handler for sort changes */
|
|
21
|
+
onSortChange?: (field: string, direction: ListingTableSortDirection) => void;
|
|
22
|
+
/** Current page (0-indexed) */
|
|
23
|
+
page?: number;
|
|
24
|
+
/** Items per page */
|
|
25
|
+
rowsPerPage?: number;
|
|
26
|
+
/** Total item count */
|
|
27
|
+
totalCount?: number;
|
|
28
|
+
/** Handler for page changes */
|
|
29
|
+
onPageChange?: (page: number) => void;
|
|
30
|
+
/** Handler for rows per page changes */
|
|
31
|
+
onRowsPerPageChange?: (rowsPerPage: number) => void;
|
|
32
|
+
/** Array of selected row IDs */
|
|
33
|
+
selected?: readonly string[];
|
|
34
|
+
/** Handler for selection changes */
|
|
35
|
+
onSelectionChange?: (selected: readonly string[]) => void;
|
|
36
|
+
/** Select all handler */
|
|
37
|
+
onSelectAll?: () => void;
|
|
38
|
+
/** Clear selection handler */
|
|
39
|
+
onClearSelection?: () => void;
|
|
40
|
+
/** Check if a row is selected */
|
|
41
|
+
isSelected?: (id: string) => boolean;
|
|
42
|
+
/** Active filters as key-value pairs */
|
|
43
|
+
filters?: Record<string, unknown>;
|
|
44
|
+
/** Handler for filter changes */
|
|
45
|
+
onFilterChange?: (key: string, value: unknown) => void;
|
|
46
|
+
/** Clear all filters handler */
|
|
47
|
+
onClearFilters?: () => void;
|
|
48
|
+
/** Handler for bulk delete */
|
|
49
|
+
onBulkDelete?: (ids: readonly string[]) => void;
|
|
50
|
+
/** Handler for custom bulk actions */
|
|
51
|
+
onBulkAction?: (actionId: string, ids: readonly string[]) => void;
|
|
52
|
+
/** Custom handlers for application-specific operations */
|
|
53
|
+
customHandlers?: Record<string, (...args: unknown[]) => void>;
|
|
54
|
+
/** Current density setting */
|
|
55
|
+
density?: ListingTableDensity;
|
|
56
|
+
/** Handler for density changes */
|
|
57
|
+
onDensityChange?: (density: ListingTableDensity) => void;
|
|
58
|
+
/** Current variant setting */
|
|
59
|
+
variant?: ListingTableVariant;
|
|
60
|
+
/** Whether data is loading */
|
|
61
|
+
loading?: boolean;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* React Context for ListingTable.
|
|
65
|
+
* Initialized with null to detect usage outside provider.
|
|
66
|
+
*/
|
|
67
|
+
export declare const ListingTableContext: React.Context<ListingTableContextValue | null>;
|
|
68
|
+
/**
|
|
69
|
+
* Hook to access ListingTable context.
|
|
70
|
+
* Returns null if used outside provider (for backward compatibility).
|
|
71
|
+
* Use useListingTableRequired() for strict mode.
|
|
72
|
+
*/
|
|
73
|
+
export declare const useListingTable: () => ListingTableContextValue | null;
|
|
74
|
+
/**
|
|
75
|
+
* Hook to access ListingTable context with strict mode.
|
|
76
|
+
* @throws Error if used outside ListingTableProvider
|
|
77
|
+
*/
|
|
78
|
+
export declare const useListingTableRequired: () => ListingTableContextValue;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { default } from './ListingTable';
|
|
2
|
+
export { default as ListingTable } from './ListingTable';
|
|
3
|
+
export type { ListingTableProps } from './ListingTable';
|
|
4
|
+
export type { ListingTableContainerProps } from './ListingTable';
|
|
5
|
+
export type { ListingTableHeadProps } from './ListingTable';
|
|
6
|
+
export type { ListingTableBodyProps } from './ListingTable';
|
|
7
|
+
export type { ListingTableFooterProps } from './ListingTable';
|
|
8
|
+
export type { ListingTableRowProps } from './ListingTable';
|
|
9
|
+
export type { ListingTableCellProps } from './ListingTable';
|
|
10
|
+
export { ListingTableContext, useListingTable, useListingTableRequired } from './context';
|
|
11
|
+
export type { ListingTableContextValue, ListingTableSortDirection } from './context';
|
|
12
|
+
export { ListingTableProvider } from './ListingTableProvider';
|
|
13
|
+
export type { ListingTableProviderProps } from './ListingTableProvider';
|
|
14
|
+
export type { ListingTableDensity, ListingTableVariant } from './shared';
|
|
15
|
+
export type { ListingTableToolbarProps } from './shared';
|
|
16
|
+
export type { ListingTableEmptyStateProps } from './shared';
|
|
17
|
+
export type { ListingTableDensityControlProps } from './shared';
|
|
18
|
+
export type { ListingTableSortLabelProps, ListingSortDirection } from './shared';
|
|
19
|
+
export type { ListingTableRowActionsProps } from './shared';
|
|
20
|
+
export type { ListingTableCellIconProps } from './shared';
|
|
21
|
+
export { ListingTableToolbar, Toolbar, ListingTableEmptyState, EmptyState, ListingTableDensityControl, DensityControl, ListingTableSortLabel, SortLabel, ListingTableRowActions, RowActions, ListingTableCellIcon, CellIcon, } from './shared';
|
|
22
|
+
export { ListingTableContainer, Container, ListingTableHead, Head, ListingTableBody, Body, ListingTableFooter, Footer, ListingTableRow, Row, ListingTableCell, Cell, } from './ListingTable';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface ListingTableCellIconProps {
|
|
4
|
+
/**
|
|
5
|
+
* Icon element to display
|
|
6
|
+
*/
|
|
7
|
+
icon: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Primary text content
|
|
10
|
+
*/
|
|
11
|
+
primary: string;
|
|
12
|
+
/**
|
|
13
|
+
* Secondary text content (optional)
|
|
14
|
+
*/
|
|
15
|
+
secondary?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Icon position relative to text
|
|
18
|
+
* @default 'left'
|
|
19
|
+
*/
|
|
20
|
+
iconPosition?: 'left' | 'right';
|
|
21
|
+
/**
|
|
22
|
+
* Custom styles for the icon wrapper
|
|
23
|
+
*/
|
|
24
|
+
iconSx?: SxProps<Theme>;
|
|
25
|
+
/**
|
|
26
|
+
* Custom styles for the container
|
|
27
|
+
*/
|
|
28
|
+
sx?: SxProps<Theme>;
|
|
29
|
+
}
|
|
30
|
+
export declare function ListingTableCellIcon({ icon, primary, secondary, iconPosition, iconSx, sx, }: ListingTableCellIconProps): ReactElement;
|
|
31
|
+
export default ListingTableCellIcon;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
import type { ListingTableDensity } from './types';
|
|
4
|
+
export interface ListingTableDensityControlProps {
|
|
5
|
+
/**
|
|
6
|
+
* Current density value.
|
|
7
|
+
* When using with Provider, this is automatically derived from context if not provided.
|
|
8
|
+
*/
|
|
9
|
+
value?: ListingTableDensity;
|
|
10
|
+
/**
|
|
11
|
+
* Change handler.
|
|
12
|
+
* When using with Provider, this is automatically handled via context if not provided.
|
|
13
|
+
*/
|
|
14
|
+
onChange?: (density: ListingTableDensity) => void;
|
|
15
|
+
/**
|
|
16
|
+
* Size of the toggle buttons
|
|
17
|
+
* @default 'small'
|
|
18
|
+
*/
|
|
19
|
+
size?: 'small' | 'medium';
|
|
20
|
+
/**
|
|
21
|
+
* Custom styles for the container
|
|
22
|
+
*/
|
|
23
|
+
sx?: SxProps<Theme>;
|
|
24
|
+
}
|
|
25
|
+
export declare function ListingTableDensityControl({ value: valueProp, onChange: onChangeProp, size, sx, }: ListingTableDensityControlProps): ReactElement;
|
|
26
|
+
export default ListingTableDensityControl;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface ListingTableEmptyStateProps {
|
|
4
|
+
/**
|
|
5
|
+
* Main title text
|
|
6
|
+
* @default 'No data available'
|
|
7
|
+
*/
|
|
8
|
+
title?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Description text below the title
|
|
11
|
+
*/
|
|
12
|
+
description?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Custom illustration element (e.g., icon or image)
|
|
15
|
+
*/
|
|
16
|
+
illustration?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Action button or link element
|
|
19
|
+
*/
|
|
20
|
+
action?: ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Minimum height of the empty state container
|
|
23
|
+
* @default 300
|
|
24
|
+
*/
|
|
25
|
+
minHeight?: number | string;
|
|
26
|
+
/**
|
|
27
|
+
* Custom styles for the container
|
|
28
|
+
*/
|
|
29
|
+
sx?: SxProps<Theme>;
|
|
30
|
+
}
|
|
31
|
+
export declare function ListingTableEmptyState({ title, description, illustration, action, minHeight, sx, }: ListingTableEmptyStateProps): ReactElement;
|
|
32
|
+
export default ListingTableEmptyState;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface ListingTableRowActionsProps {
|
|
4
|
+
/**
|
|
5
|
+
* Action buttons or elements
|
|
6
|
+
*/
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* Whether actions are always visible or only on row hover
|
|
10
|
+
* @default 'always'
|
|
11
|
+
*/
|
|
12
|
+
visibility?: 'always' | 'hover';
|
|
13
|
+
/**
|
|
14
|
+
* Alignment of action buttons
|
|
15
|
+
* @default 'right'
|
|
16
|
+
*/
|
|
17
|
+
align?: 'left' | 'center' | 'right';
|
|
18
|
+
/**
|
|
19
|
+
* Custom styles for the container
|
|
20
|
+
*/
|
|
21
|
+
sx?: SxProps<Theme>;
|
|
22
|
+
}
|
|
23
|
+
export declare function ListingTableRowActions({ children, visibility, align, sx, }: ListingTableRowActionsProps): ReactElement;
|
|
24
|
+
export default ListingTableRowActions;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { TableSortLabelProps as MuiTableSortLabelProps } from '@mui/material/TableSortLabel';
|
|
3
|
+
export type ListingSortDirection = 'asc' | 'desc' | false;
|
|
4
|
+
export interface ListingTableSortLabelProps extends Omit<MuiTableSortLabelProps, 'direction'> {
|
|
5
|
+
/**
|
|
6
|
+
* Field/column identifier for context-based sorting.
|
|
7
|
+
* When provided and used with ListingTable.Provider, the component will
|
|
8
|
+
* automatically connect to the context for sort state and handling.
|
|
9
|
+
*/
|
|
10
|
+
field?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Whether this column is currently sorted.
|
|
13
|
+
* When using with Provider and field prop, this is automatically derived from context.
|
|
14
|
+
*/
|
|
15
|
+
active?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Sort direction.
|
|
18
|
+
* When using with Provider and field prop, this is automatically derived from context.
|
|
19
|
+
*/
|
|
20
|
+
direction?: 'asc' | 'desc';
|
|
21
|
+
/**
|
|
22
|
+
* Click handler for sorting.
|
|
23
|
+
* When using with Provider and field prop, this is automatically handled via context.
|
|
24
|
+
*/
|
|
25
|
+
onClick?: (event: React.MouseEvent<HTMLSpanElement>) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Label text
|
|
28
|
+
*/
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Hide sort icon when not active
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
hideSortIcon?: boolean;
|
|
35
|
+
}
|
|
36
|
+
export declare function ListingTableSortLabel({ field, active: activeProp, direction: directionProp, onClick: onClickProp, children, hideSortIcon, ...props }: ListingTableSortLabelProps): ReactElement;
|
|
37
|
+
export default ListingTableSortLabel;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface ListingTableToolbarProps {
|
|
4
|
+
/**
|
|
5
|
+
* Show search input
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
showSearch?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Custom search component to render instead of built-in search.
|
|
11
|
+
* When provided, overrides showSearch and built-in search behavior.
|
|
12
|
+
* The custom component should use useListingTable() to connect to context.
|
|
13
|
+
*/
|
|
14
|
+
searchSlot?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Search value (controlled mode)
|
|
17
|
+
*/
|
|
18
|
+
searchValue?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Search change handler
|
|
21
|
+
*/
|
|
22
|
+
onSearchChange?: (value: string) => void;
|
|
23
|
+
/**
|
|
24
|
+
* Search placeholder text
|
|
25
|
+
* @default 'Search...'
|
|
26
|
+
*/
|
|
27
|
+
searchPlaceholder?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Minimum width for search input
|
|
30
|
+
* @default 200
|
|
31
|
+
*/
|
|
32
|
+
searchMinWidth?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Maximum width for search input
|
|
35
|
+
* @default 300
|
|
36
|
+
*/
|
|
37
|
+
searchMaxWidth?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Additional toolbar actions to render on the right side
|
|
40
|
+
*/
|
|
41
|
+
actions?: ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* Children to render in the toolbar (between search and actions)
|
|
44
|
+
*/
|
|
45
|
+
children?: ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* Custom styles for the container
|
|
48
|
+
*/
|
|
49
|
+
sx?: SxProps<Theme>;
|
|
50
|
+
}
|
|
51
|
+
export declare function ListingTableToolbar({ showSearch, searchSlot, searchValue: controlledSearchValue, onSearchChange, searchPlaceholder, searchMinWidth, searchMaxWidth, actions, children, sx, }: ListingTableToolbarProps): ReactElement;
|
|
52
|
+
export default ListingTableToolbar;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type { ListingTableDensity, ListingTableVariant } from './types';
|
|
2
|
+
export { densityStyles } from './types';
|
|
3
|
+
export { default as ListingTableToolbar, ListingTableToolbar as Toolbar } from './ListingTableToolbar';
|
|
4
|
+
export type { ListingTableToolbarProps } from './ListingTableToolbar';
|
|
5
|
+
export { default as ListingTableEmptyState, ListingTableEmptyState as EmptyState } from './ListingTableEmptyState';
|
|
6
|
+
export type { ListingTableEmptyStateProps } from './ListingTableEmptyState';
|
|
7
|
+
export { default as ListingTableDensityControl, ListingTableDensityControl as DensityControl } from './ListingTableDensityControl';
|
|
8
|
+
export type { ListingTableDensityControlProps } from './ListingTableDensityControl';
|
|
9
|
+
export { default as ListingTableSortLabel, ListingTableSortLabel as SortLabel } from './ListingTableSortLabel';
|
|
10
|
+
export type { ListingTableSortLabelProps, ListingSortDirection } from './ListingTableSortLabel';
|
|
11
|
+
export { default as ListingTableRowActions, ListingTableRowActions as RowActions } from './ListingTableRowActions';
|
|
12
|
+
export type { ListingTableRowActionsProps } from './ListingTableRowActions';
|
|
13
|
+
export { default as ListingTableCellIcon, ListingTableCellIcon as CellIcon } from './ListingTableCellIcon';
|
|
14
|
+
export type { ListingTableCellIconProps } from './ListingTableCellIcon';
|
|
@@ -0,0 +1,69 @@
|
|
|
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 NotificationBanner component.
|
|
22
|
+
*/
|
|
23
|
+
export interface NotificationBannerProps {
|
|
24
|
+
/** Whether the banner is visible */
|
|
25
|
+
visible?: boolean;
|
|
26
|
+
/** Banner severity/type */
|
|
27
|
+
severity?: 'info' | 'warning' | 'error' | 'success';
|
|
28
|
+
/** Banner title */
|
|
29
|
+
title?: string;
|
|
30
|
+
/** Banner message */
|
|
31
|
+
message: string;
|
|
32
|
+
/** Optional action button label */
|
|
33
|
+
actionLabel?: string;
|
|
34
|
+
/** Action button callback */
|
|
35
|
+
onAction?: () => void;
|
|
36
|
+
/** Dismiss callback */
|
|
37
|
+
onDismiss?: () => void;
|
|
38
|
+
/** Additional sx props */
|
|
39
|
+
sx?: SxProps<Theme>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* NotificationBanner - Dismissible system alert banner.
|
|
43
|
+
*
|
|
44
|
+
* A top-level notification banner that appears above the main application
|
|
45
|
+
* content. Used for system-wide announcements, maintenance notices, or
|
|
46
|
+
* important alerts that need high visibility.
|
|
47
|
+
*
|
|
48
|
+
* Features:
|
|
49
|
+
* - Multiple severity levels (info, warning, error, success)
|
|
50
|
+
* - Optional title for more prominent messages
|
|
51
|
+
* - Optional action button
|
|
52
|
+
* - Smooth collapse animation on dismiss
|
|
53
|
+
* - Full-width design that sits at the top of the app
|
|
54
|
+
*
|
|
55
|
+
* Usage:
|
|
56
|
+
* ```tsx
|
|
57
|
+
* <NotificationBanner
|
|
58
|
+
* visible={showBanner}
|
|
59
|
+
* severity="info"
|
|
60
|
+
* title="Scheduled Maintenance"
|
|
61
|
+
* message="The system will be undergoing maintenance on Dec 20th."
|
|
62
|
+
* actionLabel="Learn More"
|
|
63
|
+
* onAction={() => openMaintenanceInfo()}
|
|
64
|
+
* onDismiss={() => setShowBanner(false)}
|
|
65
|
+
* />
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
export declare const NotificationBanner: React.FC<NotificationBannerProps>;
|
|
69
|
+
export default NotificationBanner;
|
|
@@ -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 { NotificationBanner, default } from './NotificationBanner';
|
|
19
|
+
export type { NotificationBannerProps } from './NotificationBanner';
|
|
@@ -0,0 +1,44 @@
|
|
|
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 NotificationActions component.
|
|
22
|
+
*/
|
|
23
|
+
export interface NotificationActionsProps {
|
|
24
|
+
/** Whether there are unread notifications */
|
|
25
|
+
hasUnread?: boolean;
|
|
26
|
+
/** Callback to mark all as read */
|
|
27
|
+
onMarkAllRead?: () => void;
|
|
28
|
+
/** Callback to clear all notifications */
|
|
29
|
+
onClearAll?: () => void;
|
|
30
|
+
/** Additional sx props */
|
|
31
|
+
sx?: SxProps<Theme>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* NotificationActions - Bulk action buttons for notifications.
|
|
35
|
+
*
|
|
36
|
+
* Provides "Mark all read" and "Clear all" actions.
|
|
37
|
+
*
|
|
38
|
+
* Theme tokens used:
|
|
39
|
+
* - `action.hover` - Background color
|
|
40
|
+
* - `divider` - Border color
|
|
41
|
+
* - `error` - Clear all button color (via Button color="error")
|
|
42
|
+
*/
|
|
43
|
+
export declare const NotificationActions: React.FC<NotificationActionsProps>;
|
|
44
|
+
export default NotificationActions;
|
|
@@ -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
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
20
|
+
/**
|
|
21
|
+
* Props for NotificationEmptyState component.
|
|
22
|
+
*/
|
|
23
|
+
export interface NotificationEmptyStateProps {
|
|
24
|
+
/** Message to display */
|
|
25
|
+
message?: string;
|
|
26
|
+
/** Custom icon component */
|
|
27
|
+
icon?: React.ReactNode;
|
|
28
|
+
/** Additional sx props */
|
|
29
|
+
sx?: SxProps<Theme>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* NotificationEmptyState - Empty state display for no notifications.
|
|
33
|
+
*
|
|
34
|
+
* Shows a centered message with an icon when there are no notifications
|
|
35
|
+
* to display.
|
|
36
|
+
*
|
|
37
|
+
* Theme tokens used:
|
|
38
|
+
* - `text.secondary` - Message text color
|
|
39
|
+
*/
|
|
40
|
+
export declare const NotificationEmptyState: React.FC<NotificationEmptyStateProps>;
|
|
41
|
+
export default NotificationEmptyState;
|
|
@@ -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 * as React from 'react';
|
|
19
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
20
|
+
/**
|
|
21
|
+
* Props for NotificationHeader component.
|
|
22
|
+
*/
|
|
23
|
+
export interface NotificationHeaderProps {
|
|
24
|
+
/** Composable children (HeaderIcon, HeaderTitle, HeaderBadge, HeaderClose) */
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
/** Additional sx props */
|
|
27
|
+
sx?: SxProps<Theme>;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* NotificationHeader - Header section of the notification panel.
|
|
31
|
+
*
|
|
32
|
+
* Uses composable children API:
|
|
33
|
+
* ```tsx
|
|
34
|
+
* <NotificationPanel.Header>
|
|
35
|
+
* <NotificationPanel.HeaderIcon><Bell size={20} /></NotificationPanel.HeaderIcon>
|
|
36
|
+
* <NotificationPanel.HeaderTitle>Notifications</NotificationPanel.HeaderTitle>
|
|
37
|
+
* <NotificationPanel.HeaderBadge>5</NotificationPanel.HeaderBadge>
|
|
38
|
+
* <NotificationPanel.HeaderClose />
|
|
39
|
+
* </NotificationPanel.Header>
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* Theme tokens used:
|
|
43
|
+
* - `divider` - Bottom border
|
|
44
|
+
* - `primary` - Unread count chip color (via Chip color="primary")
|
|
45
|
+
*/
|
|
46
|
+
export declare const NotificationHeader: React.FC<NotificationHeaderProps>;
|
|
47
|
+
export default NotificationHeader;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 NotificationHeaderBadge component.
|
|
22
|
+
*/
|
|
23
|
+
export interface NotificationHeaderBadgeProps {
|
|
24
|
+
/** Badge content (typically unread count) */
|
|
25
|
+
children: React.ReactNode;
|
|
26
|
+
/** Badge color */
|
|
27
|
+
color?: 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
28
|
+
/** Additional sx props */
|
|
29
|
+
sx?: SxProps<Theme>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* NotificationHeaderBadge - Badge for the notification panel header.
|
|
33
|
+
*
|
|
34
|
+
* Displays an unread count or other notification badge.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```tsx
|
|
38
|
+
* <NotificationPanel.Header>
|
|
39
|
+
* <NotificationPanel.HeaderTitle>Notifications</NotificationPanel.HeaderTitle>
|
|
40
|
+
* <NotificationPanel.HeaderBadge>5</NotificationPanel.HeaderBadge>
|
|
41
|
+
* ...
|
|
42
|
+
* </NotificationPanel.Header>
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare const NotificationHeaderBadge: React.FC<NotificationHeaderBadgeProps>;
|
|
46
|
+
export default NotificationHeaderBadge;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 NotificationHeaderClose component.
|
|
22
|
+
*/
|
|
23
|
+
export interface NotificationHeaderCloseProps {
|
|
24
|
+
/** Custom icon (defaults to X) */
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
/** Click handler (overrides context onClose) */
|
|
27
|
+
onClick?: () => void;
|
|
28
|
+
/** Additional sx props */
|
|
29
|
+
sx?: SxProps<Theme>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* NotificationHeaderClose - Close button for the notification panel header.
|
|
33
|
+
*
|
|
34
|
+
* Closes the notification panel when clicked. Uses onClose from context
|
|
35
|
+
* unless overridden with onClick prop.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```tsx
|
|
39
|
+
* <NotificationPanel.Header>
|
|
40
|
+
* <NotificationPanel.HeaderTitle>Notifications</NotificationPanel.HeaderTitle>
|
|
41
|
+
* <NotificationPanel.HeaderClose />
|
|
42
|
+
* </NotificationPanel.Header>
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare const NotificationHeaderClose: React.FC<NotificationHeaderCloseProps>;
|
|
46
|
+
export default NotificationHeaderClose;
|