@muraldevkit/ui-toolkit 2.9.0 → 2.9.1
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/svg/config.d.ts +1 -1
- package/dist/components/table/MrlSmartTable/MrlSmartTable.d.ts +4 -3
- package/dist/components/table/MrlTable/MrlTable.d.ts +2 -2
- package/dist/components/table/MrlTableBody/MrlTableBody.d.ts +2 -2
- package/dist/components/table/MrlTableCell/MrlTableCell.d.ts +2 -2
- package/dist/components/table/MrlTableColumn/MrlTableColumn.d.ts +2 -2
- package/dist/components/table/MrlTableHeader/MrlTableHeader.d.ts +2 -2
- package/dist/components/table/MrlTableRow/MrlTableRow.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MrlTableProps } from '../MrlTable';
|
|
2
3
|
import { MrlSortDirection, MrlTableColumnId, MrlTableColumnSortDescriptor, MrlTableItemId, MrlTableSelectionMode } from '../constants';
|
|
3
4
|
export interface MrlSmartColumnRendererProps {
|
|
4
5
|
/**
|
|
@@ -100,7 +101,7 @@ export interface MrlSmartTableSelectionOptions {
|
|
|
100
101
|
*/
|
|
101
102
|
onSelectionChange: (keys: MrlTableSelection) => void;
|
|
102
103
|
}
|
|
103
|
-
export interface MrlSmartTableProps {
|
|
104
|
+
export interface MrlSmartTableProps extends Partial<Pick<MrlTableProps, 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-details'>> {
|
|
104
105
|
/**
|
|
105
106
|
* A list of table columns.
|
|
106
107
|
*/
|
|
@@ -139,4 +140,4 @@ export interface MrlSmartTableProps {
|
|
|
139
140
|
* @param {MrlSmartTableProps} props - MrlSmartTable component props
|
|
140
141
|
* @returns a table
|
|
141
142
|
*/
|
|
142
|
-
export declare function MrlSmartTable(props: MrlSmartTableProps
|
|
143
|
+
export declare function MrlSmartTable(props: MrlSmartTableProps): JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface MrlTableProps extends React.
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface MrlTableProps extends React.ComponentPropsWithoutRef<'table'> {
|
|
3
3
|
/**
|
|
4
4
|
* An element id (and if not provided, a unique value decorated
|
|
5
5
|
* to prevent conflict with aria controls will be generated).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface MrlTableBodyProps extends React.
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface MrlTableBodyProps extends React.ComponentPropsWithoutRef<'tbody'> {
|
|
3
3
|
/**
|
|
4
4
|
* An element id (and if not provided, a unique value decorated
|
|
5
5
|
* to prevent conflict with aria controls will be generated).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface MrlTableCellProps extends React.
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface MrlTableCellProps extends React.ComponentPropsWithoutRef<'td'> {
|
|
3
3
|
/**
|
|
4
4
|
* An element id (and if not provided, a unique value decorated
|
|
5
5
|
* to prevent conflict with aria controls will be generated).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface MrlTableColumnProps extends React.
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface MrlTableColumnProps extends React.ComponentPropsWithoutRef<'th'> {
|
|
3
3
|
/**
|
|
4
4
|
* An element id (and if not provided, a unique value decorated
|
|
5
5
|
* to prevent conflict with aria controls will be generated).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface MrlTableHeaderProps extends React.
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface MrlTableHeaderProps extends React.ComponentPropsWithoutRef<'thead'> {
|
|
3
3
|
/**
|
|
4
4
|
* An element id (and if not provided, a unique value decorated
|
|
5
5
|
* to prevent conflict with aria controls will be generated).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface MrlTableRowProps extends React.
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface MrlTableRowProps extends React.ComponentPropsWithoutRef<'tr'> {
|
|
3
3
|
/**
|
|
4
4
|
* An element id (and if not provided, a unique value decorated
|
|
5
5
|
* to prevent conflict with aria controls will be generated).
|