@omniumretail/component-library 1.1.27 → 1.1.28

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.1.27",
3
+ "version": "1.1.28",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",
@@ -20,10 +20,7 @@ const Template: Story<ResponsiveTableCustomProps> = (args) => {
20
20
  // For example, trigger an API call
21
21
  };
22
22
 
23
- return <ResponsiveTable scroll={{y: 1000, x: 3000}} fixedColumns={[
24
- { dataIndex: 'name', side: 'left' },
25
- { dataIndex: 'mecanographicNumber', side: 'left' },
26
- ]} customColumnWidths={[{columnName: 'name', width: "2%"}]} columnsSortChange={handleSortByColumnChange} paginationInfo={setPageInfo} headingTranslationsKey={'tableHeadings'} rowSelectionInfo={setRowSelectionInfo} actionsArray={
23
+ return <ResponsiveTable columnsSortChange={handleSortByColumnChange} paginationInfo={setPageInfo} headingTranslationsKey={'tableHeadings'} rowSelectionInfo={setRowSelectionInfo} actionsArray={
27
24
  [
28
25
  { key: '1', label: `${t('actions.one')}`, onClick: () => {
29
26
  console.log('onClick');
@@ -194,6 +194,7 @@ export const ResponsiveTable = (props: ResponsiveTableCustomProps) => {
194
194
  title: headingTranslationsKey ? t(`${headingTranslationsKey}.${'action'}`) : 'action',
195
195
  dataIndex: 6,
196
196
  ellipsis: false,
197
+ align: 'right',
197
198
  render: () => {
198
199
  if (!items?.[0]) return null; // Verifica se o array items é nulo
199
200