@omniumretail/component-library 1.2.16 → 1.2.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.2.16",
3
+ "version": "1.2.17",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",
@@ -294,8 +294,6 @@ export const ResponsiveTable = (props: ResponsiveTableCustomProps) => {
294
294
  [styles.tableWrapperNoSelection]: !rowSelection
295
295
  }, [styles.tableWrapper]);
296
296
 
297
- const selectAllButtonStyle = classNames([styles.selectAllRows], [customSelectAllButton]);
298
-
299
297
  return (
300
298
  <div className={tableWrapperClasses}>
301
299
  {shouldRenderSortDropdown &&
@@ -335,7 +333,7 @@ export const ResponsiveTable = (props: ResponsiveTableCustomProps) => {
335
333
  />
336
334
  {
337
335
  onSelectAllButtonClick &&
338
- <Button onClick={selectAllRows} className={selectAllButtonStyle}>
336
+ <Button onClick={selectAllRows} customClass={customSelectAllButton}>
339
337
  {selectedAllRowKeys ? t('components.table.deselectAll') : t('components.table.selectAll')}
340
338
  </Button>
341
339
  }