ods-component-lib 1.17.185 → 1.17.186

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,3 +1,4 @@
1
1
  import React from "react";
2
+ import "./DxDataGrid.css";
2
3
  declare function OdsDataGrid(props: any): React.JSX.Element;
3
4
  export default OdsDataGrid;
package/dist/index.js CHANGED
@@ -1505,14 +1505,22 @@ function grid(props, dataGridRef) {
1505
1505
  location: "before"
1506
1506
  }, React__default.createElement(antd.Typography.Title, {
1507
1507
  level: 5,
1508
- className: "dx-header-title"
1508
+ style: {
1509
+ padding: "8px",
1510
+ display: "flex",
1511
+ alignItems: "center",
1512
+ gap: "4px",
1513
+ alignSelf: "stretch"
1514
+ }
1509
1515
  }, props.pageTitle)), React__default.createElement(dataGrid.Item, {
1510
1516
  location: "before"
1511
1517
  }, React__default.createElement(OdsButton, {
1512
- className: "dx-add-new",
1513
1518
  type: "primary",
1514
1519
  disabled: props.actionPermission == undefined ? false : !props.actionPermission,
1515
- onClick: props.onAddButton
1520
+ onClick: props.onAddButton,
1521
+ style: {
1522
+ marginBottom: "10px"
1523
+ }
1516
1524
  }, props.AddNewButtonName)), React__default.createElement(dataGrid.Item, {
1517
1525
  name: "searchPanel"
1518
1526
  }), React__default.createElement(dataGrid.Item, {