elab_components 0.3.1 → 0.3.2

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/index.esm.js CHANGED
@@ -600,7 +600,7 @@ var DropDownCell = function (props, dropdownData, textField) {
600
600
  };
601
601
  var dataItem = props.dataItem;
602
602
  console.log('value', value);
603
- return (React.createElement("td", __assign({}, props.tdProps), dataItem.inEdit && (React.createElement(DropDownList, { style: { width: '100%', maxWidth: '200px' }, onChange: handleChange, value: value, data: dropdownData, textField: textField }))));
603
+ return (React.createElement("td", __assign({ colspan: "1", role: "gridcell", "aria-selected": "false", className: "k-table-td" }, props.tdProps), dataItem.inEdit && (React.createElement(DropDownList, { style: { width: '100%', maxWidth: '200px' }, onChange: handleChange, value: value, data: dropdownData, textField: textField }))));
604
604
  };
605
605
 
606
606
  // THIS FILE IS AUTO GENERATED
@@ -611,7 +611,7 @@ function FiUpload (props) {
611
611
  /** @format */
612
612
  var GridButton = function (props, title, icon) {
613
613
  var handleClick = function () { };
614
- return (React.createElement("td", __assign({}, props.tdProps, { className: "button-container" }),
614
+ return (React.createElement("td", __assign({ colspan: "1", role: "gridcell", "aria-selected": "false", className: "button-container k-table-td" }, props.tdProps),
615
615
  React.createElement(OkButton$1, { onClick: handleClick },
616
616
  React.createElement("span", { className: "button-content" },
617
617
  icon === 'attachment' && React.createElement(FiUpload, { className: "icon" }),
@@ -624,7 +624,7 @@ var img = "data:image/svg+xml,%3csvg width='28' height='29' viewBox='0 0 28 29'
624
624
  /** @format */
625
625
  var ChartClickButton = function (props, field, icon) {
626
626
  console.log('props', props);
627
- return (React.createElement("td", __assign({}, props.tdProps, { className: "chart-button" }),
627
+ return (React.createElement("td", __assign({ colspan: "1", role: "gridcell" }, props.tdProps, { "aria-selected": "false", className: "chart-button k-table-td" }),
628
628
  React.createElement("img", { style: { textAlign: 'center', margin: '0px auto' }, src: img, alt: "" }),
629
629
  React.createElement("span", { style: { textAlign: 'center', margin: '0px auto' } }, props === null || props === void 0 ? void 0 : props.dataItem[field])));
630
630
  };
package/dist/index.js CHANGED
@@ -628,7 +628,7 @@ var DropDownCell = function (props, dropdownData, textField) {
628
628
  };
629
629
  var dataItem = props.dataItem;
630
630
  console.log('value', value);
631
- return (React__namespace.createElement("td", __assign({}, props.tdProps), dataItem.inEdit && (React__namespace.createElement(kendoReactDropdowns.DropDownList, { style: { width: '100%', maxWidth: '200px' }, onChange: handleChange, value: value, data: dropdownData, textField: textField }))));
631
+ return (React__namespace.createElement("td", __assign({ colspan: "1", role: "gridcell", "aria-selected": "false", className: "k-table-td" }, props.tdProps), dataItem.inEdit && (React__namespace.createElement(kendoReactDropdowns.DropDownList, { style: { width: '100%', maxWidth: '200px' }, onChange: handleChange, value: value, data: dropdownData, textField: textField }))));
632
632
  };
633
633
 
634
634
  // THIS FILE IS AUTO GENERATED
@@ -639,7 +639,7 @@ function FiUpload (props) {
639
639
  /** @format */
640
640
  var GridButton = function (props, title, icon) {
641
641
  var handleClick = function () { };
642
- return (React__namespace.createElement("td", __assign({}, props.tdProps, { className: "button-container" }),
642
+ return (React__namespace.createElement("td", __assign({ colspan: "1", role: "gridcell", "aria-selected": "false", className: "button-container k-table-td" }, props.tdProps),
643
643
  React__namespace.createElement(OkButton$1, { onClick: handleClick },
644
644
  React__namespace.createElement("span", { className: "button-content" },
645
645
  icon === 'attachment' && React__namespace.createElement(FiUpload, { className: "icon" }),
@@ -652,7 +652,7 @@ var img = "data:image/svg+xml,%3csvg width='28' height='29' viewBox='0 0 28 29'
652
652
  /** @format */
653
653
  var ChartClickButton = function (props, field, icon) {
654
654
  console.log('props', props);
655
- return (React__namespace.createElement("td", __assign({}, props.tdProps, { className: "chart-button" }),
655
+ return (React__namespace.createElement("td", __assign({ colspan: "1", role: "gridcell" }, props.tdProps, { "aria-selected": "false", className: "chart-button k-table-td" }),
656
656
  React__namespace.createElement("img", { style: { textAlign: 'center', margin: '0px auto' }, src: img, alt: "" }),
657
657
  React__namespace.createElement("span", { style: { textAlign: 'center', margin: '0px auto' } }, props === null || props === void 0 ? void 0 : props.dataItem[field])));
658
658
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elab_components",
3
- "version": "0.3.01",
3
+ "version": "0.3.02",
4
4
  "private": false,
5
5
  "author": "Amar",
6
6
  "main": "dist/index.js",