@opexa/portal-components 0.0.1050 → 0.0.1052

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.
@@ -37,5 +37,6 @@ export function DepositWithdrawalTrigger({ asChild, children, colorScheme = 'pri
37
37
  : 'border-border-dark bg-bg-dark text-dark-text'), children: formatNumber(totalBalance, {
38
38
  currency: localeInfo.currency.code,
39
39
  minDecimalPlaces: 2,
40
+ truncate: false
40
41
  }) }), _jsx("div", { className: "flex h-10 items-center gap-1.5 rounded-r-md bg-button-primary-bg px-3.5 font-semibold text-button-primary-fg text-sm", children: "Deposit" })] })) }));
41
42
  }
@@ -68,12 +68,14 @@ export function TransactionRecordsTable(props) {
68
68
  }) })] }), _jsx(Table.Cell, { className: "!py-1", children: formatNumber(data.amount, {
69
69
  currency: localeInfo.currency.code,
70
70
  minDecimalPlaces: 2,
71
+ maxDecimalPlaces: 2,
71
72
  }) }), _jsx(Table.Cell, { className: "!py-1", children: formatNumber(data.currentBalance, {
72
73
  currency: localeInfo.currency.code,
73
74
  minDecimalPlaces: 2,
74
- truncate: false
75
+ maxDecimalPlaces: 2,
75
76
  }) }), _jsx(Table.Cell, { className: "!py-1", children: formatNumber(data.currentBonusBalance, {
76
77
  currency: localeInfo.currency.code,
77
78
  minDecimalPlaces: 2,
79
+ maxDecimalPlaces: 2,
78
80
  }) }), _jsx(Table.Cell, { className: "!py-1", children: data.referenceNumber })] }, data.id))) })] }) }), _jsxs("div", { className: "flex items-center justify-between gap-lg px-4 py-3", children: [_jsx(IconButton, { size: "xs", variant: "outline", colorScheme: "gray", disabled: !hasPrevPage || loading, onClick: () => prev(), children: _jsx(ChevronLeftIcon, { className: "size-5" }) }), _jsxs("p", { className: "font-medium text-sm text-text-secondary-700", children: ["Page ", page, " of ", totalPages] }), _jsx(IconButton, { size: "xs", variant: "outline", colorScheme: "gray", disabled: !hasNextPage || loading, onClick: () => next(), children: _jsx(ChevronRightIcon, { className: "size-5" }) })] })] }))] }));
79
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.1050",
3
+ "version": "0.0.1052",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",