react-magma-dom 4.12.0-next.8 → 4.12.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.
@@ -8,6 +8,11 @@ export interface EmptyStateProps extends React.HTMLAttributes<HTMLDivElement> {
8
8
  description?: string;
9
9
  /** Graphic that replaces the entire circular icon area — renders as-is with no wrapper */
10
10
  graphic?: React.ReactNode;
11
+ /**
12
+ * Number to indicate which level heading will render (e.g. h1, h2 etc.)
13
+ * @default 3
14
+ */
15
+ headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
11
16
  /** Icon element displayed inside the circular illustration area */
12
17
  icon?: React.ReactElement;
13
18
  /** Use danger/error color scheme (red) */
@@ -118,5 +118,4 @@ export interface PopoverContextInterface {
118
118
  isFullWidth?: boolean;
119
119
  }
120
120
  export declare const PopoverContext: React.Context<PopoverContextInterface>;
121
- export declare function hasActiveElementsChecker(ref: any): boolean;
122
121
  export declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
@@ -46,6 +46,10 @@ export interface TableHeaderCellProps extends React.HTMLAttributes<HTMLTableCell
46
46
  * Indicates how many rows the header cell spans or extends
47
47
  */
48
48
  rowSpan?: number;
49
+ /**
50
+ * @internal
51
+ */
52
+ header?: string;
49
53
  }
50
54
  export declare enum TableHeaderCellScope {
51
55
  col = "col",
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { ThemeInterface } from '../../theme/magma';
3
+ import { TableSortDirection } from '../Table/Table';
4
+ interface TableSortIconParams {
5
+ sortDirection: TableSortDirection;
6
+ isInverse: boolean;
7
+ theme: ThemeInterface;
8
+ }
9
+ export declare const getTableSortIcon: ({ sortDirection, isInverse, theme, }: TableSortIconParams) => React.JSX.Element;
10
+ export declare function getAriaSort(sortDirection: TableSortDirection): 'ascending' | 'descending' | 'none';
11
+ export declare function getAriaSortLabel(sortDirection: TableSortDirection): string;
12
+ export {};