react-magma-dom 4.10.0-next.24 → 4.10.0-next.26

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.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { TableCellAlign, TableSortDirection } from './Table';
3
- export interface TableHeaderCellProps extends React.HTMLAttributes<HTMLTableHeaderCellElement> {
3
+ export interface TableHeaderCellProps extends React.HTMLAttributes<HTMLTableCellElement> {
4
4
  /**
5
5
  * Text alignment of the cell content. Right alignment should be used for numeric values
6
6
  * @default TableCellAlign.left
@@ -38,6 +38,14 @@ export interface TableHeaderCellProps extends React.HTMLAttributes<HTMLTableHead
38
38
  * @default auto
39
39
  */
40
40
  width?: string | number;
41
+ /**
42
+ * Indicates how many columns the header cell spans or extends
43
+ */
44
+ colSpan?: number;
45
+ /**
46
+ * Indicates how many rows the header cell spans or extends
47
+ */
48
+ rowSpan?: number;
41
49
  }
42
50
  export declare enum TableHeaderCellScope {
43
51
  col = "col",
package/dist/esm/index.js CHANGED
@@ -20171,8 +20171,7 @@ var Drawer = /*#__PURE__*/forwardRef(function (props, _ref) {
20171
20171
  isAnimated = _props$isAnimated === void 0 ? false : _props$isAnimated,
20172
20172
  rest = _objectWithoutPropertiesLoose(props, _excluded$1G);
20173
20173
  var theme = useContext(ThemeContext);
20174
- var drawerPosition = position != null ? position : DrawerPosition.top;
20175
- var drawerStyle = _extends({}, theme.drawer["default"], theme.drawer[drawerPosition]);
20174
+ var drawerStyle = _extends({}, theme.drawer["default"], theme.drawer[DrawerPosition[position]]);
20176
20175
  var containerTransition;
20177
20176
  if (isAnimated) {
20178
20177
  containerTransition = position ? transitionPreset[DrawerPosition[position]] : transitionPreset[DrawerPosition[DrawerPosition.top]];