ab-ui-library 1.1.3 → 1.1.4

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.
@@ -139,7 +139,7 @@ function Table(_ref) {
139
139
  }),
140
140
  strategy: horizontalListSortingStrategy
141
141
  }, headerGroup.headers.map(function (header) {
142
- if (!header.id.includes('action')) {
142
+ if (header.id !== 'actions') {
143
143
  return /*#__PURE__*/React.createElement(ColumnHeader, {
144
144
  pinnedStyles: _objectSpread({}, getCommonPinningStyles(header.column)),
145
145
  key: header.id,
@@ -153,11 +153,11 @@ function Table(_ref) {
153
153
  key: row.id
154
154
  }, row.getVisibleCells().map(function (cell) {
155
155
  return /*#__PURE__*/React.createElement("td", {
156
- className: classNames(_defineProperty(_defineProperty(_defineProperty({}, 'with-checkbox', cell.column.id === 'select'), 'pinned-cell', cell.column.getIsPinned()), 'action-column', cell.column.id.includes('action'))),
156
+ className: classNames(_defineProperty(_defineProperty(_defineProperty({}, 'with-checkbox', cell.column.id === 'select'), 'pinned-cell', cell.column.getIsPinned()), 'action-column', cell.column.id === 'actions')),
157
157
  id: cell.id,
158
158
  key: cell.id,
159
159
  style: _objectSpread({}, getCommonPinningStyles(cell.column))
160
- }, isLoading ? /*#__PURE__*/React.createElement(Skeleton, null) : cell.column.id.includes('action') ? /*#__PURE__*/React.createElement("div", {
160
+ }, isLoading ? /*#__PURE__*/React.createElement(Skeleton, null) : cell.column.id === 'actions' ? /*#__PURE__*/React.createElement("div", {
161
161
  className: "actions-list__right"
162
162
  }, flexRender(cell.column.columnDef.cell, cell.getContext())) : flexRender(cell.column.columnDef.cell, cell.getContext()));
163
163
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ab-ui-library",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "UI library for AM",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",