@mw-kit/mw-ui 1.7.61 → 1.7.62

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.
@@ -17877,14 +17877,17 @@ var Col = styled.div(_templateObject$M || (_templateObject$M = _taggedTemplateLi
17877
17877
  return css(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
17878
17878
  });
17879
17879
 
17880
- var Col$1 = function Col$1(props) {
17880
+ var Col$1 = React__default.forwardRef(function (props, ref) {
17881
17881
  var context = useContext$2();
17882
17882
 
17883
17883
  var _props = _extends({}, context.cols, props);
17884
17884
 
17885
17885
  var colProps = filterObject(_props, ['ellipsis', 'children']);
17886
- return React__default.createElement(Col, Object.assign({}, colProps), _props.ellipsis ? React__default.createElement(EllipsisContainer$1, null, _props.children) : _props.children);
17887
- };
17886
+ return React__default.createElement(Col, Object.assign({
17887
+ ref: ref
17888
+ }, colProps), _props.ellipsis ? React__default.createElement(EllipsisContainer$1, null, _props.children) : _props.children);
17889
+ });
17890
+ Col$1.displayName = 'Col';
17888
17891
 
17889
17892
  var Provider$3 = React__default.createContext({
17890
17893
  rows: {},
@@ -17907,7 +17910,7 @@ var Grid = styled.div(_templateObject$N || (_templateObject$N = _taggedTemplateL
17907
17910
  return css(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n border: 1px solid ", ";\n "])), lightestGrey);
17908
17911
  });
17909
17912
 
17910
- var Grid$1 = function Grid$1(props) {
17913
+ var Grid$1 = React__default.forwardRef(function (props, ref) {
17911
17914
  var cols = props.cols || {};
17912
17915
  var rows = props.rows || {};
17913
17916
  var gridProps = filterObject(props, ['cols', 'rows']);
@@ -17916,8 +17919,11 @@ var Grid$1 = function Grid$1(props) {
17916
17919
  rows: rows,
17917
17920
  cols: cols
17918
17921
  }
17919
- }, React__default.createElement(Grid, Object.assign({}, gridProps)));
17920
- };
17922
+ }, React__default.createElement(Grid, Object.assign({
17923
+ ref: ref
17924
+ }, gridProps)));
17925
+ });
17926
+ Grid$1.displayName = 'Grid';
17921
17927
 
17922
17928
  var _templateObject$O, _templateObject2$B, _templateObject3$u, _templateObject4$i, _templateObject5$f, _templateObject6$e, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject10$a;
17923
17929
  var horizontalAligns = {
@@ -17997,7 +18003,7 @@ var Row = styled.div(_templateObject$O || (_templateObject$O = _taggedTemplateLi
17997
18003
  return css(_templateObject10$a || (_templateObject10$a = _taggedTemplateLiteralLoose(["\n :hover {\n background-color: ", ";\n }\n "])), c);
17998
18004
  });
17999
18005
 
18000
- var Row$1 = function Row$1(props) {
18006
+ var Row$1 = React__default.forwardRef(function (props, ref) {
18001
18007
  var context = useContext$3();
18002
18008
 
18003
18009
  var cols = _extends({}, props.cols || {}, context.cols);
@@ -18007,8 +18013,11 @@ var Row$1 = function Row$1(props) {
18007
18013
  value: {
18008
18014
  cols: cols
18009
18015
  }
18010
- }, React__default.createElement(Row, Object.assign({}, rowProps)));
18011
- };
18016
+ }, React__default.createElement(Row, Object.assign({
18017
+ ref: ref
18018
+ }, rowProps)));
18019
+ });
18020
+ Row$1.displayName = 'Row';
18012
18021
 
18013
18022
  var Grid$2 = Object.assign(Grid$1, {
18014
18023
  Row: Row$1,