react-magma-dom 4.12.0-next.9 → 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.
- package/dist/components/EmptyState/EmptyState.d.ts +5 -0
- package/dist/components/Popover/Popover.d.ts +0 -1
- package/dist/components/Table/TableHeaderCell.d.ts +4 -0
- package/dist/components/Table/utils.d.ts +12 -0
- package/dist/esm/index.js +664 -421
- package/dist/esm/index.js.map +1 -1
- package/dist/i18n/interface.d.ts +14 -0
- package/dist/properties.json +189 -138
- package/dist/react-magma-dom.cjs.development.js +662 -419
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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 {};
|