@omniumretail/component-library 1.1.27 → 1.1.29
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
|
@@ -20,10 +20,7 @@ const Template: Story<ResponsiveTableCustomProps> = (args) => {
|
|
|
20
20
|
// For example, trigger an API call
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
return <ResponsiveTable
|
|
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
|
|
|
@@ -68,7 +68,7 @@ export const Sidebar = (props: SidebarProps) => {
|
|
|
68
68
|
<div className={sidebarClasses}>
|
|
69
69
|
{!isMobile && (
|
|
70
70
|
<div className={styles.toggle} onClick={toggleSidebar}>
|
|
71
|
-
{sidebarOpen ? <
|
|
71
|
+
{sidebarOpen ? <DoubleLeftOutlined /> : <DoubleRightOutlined />}
|
|
72
72
|
</div>
|
|
73
73
|
)}
|
|
74
74
|
{links &&
|