next-helios-fe 1.7.2 → 1.7.3

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": "next-helios-fe",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -55,14 +55,16 @@ export const PermissionTable: React.FC<PermissionTableProps> = ({
55
55
  return (
56
56
  <tr
57
57
  key={index}
58
- className={`${index % 2 === 0 ? "bg-neutral-50" : "bg-secondary-bg"}`}
58
+ className={`${index % 2 === 0 && "bg-secondary-transparent"}`}
59
59
  >
60
- <td
61
- className={`sticky left-0 min-w-40 px-4 py-1.5 ${
62
- index % 2 === 0 ? "bg-neutral-50" : "bg-secondary-bg"
63
- }`}
64
- >
65
- {module[index]}
60
+ <td className="sticky left-0 min-w-40 bg-secondary-bg">
61
+ <div
62
+ className={`px-4 py-1.5 ${
63
+ index % 2 === 0 && "bg-secondary-transparent"
64
+ }`}
65
+ >
66
+ {module[index]}
67
+ </div>
66
68
  </td>
67
69
  {header.map((permissionItem: any, permissionIndex: number) => {
68
70
  if (
@@ -138,7 +140,10 @@ export const PermissionTable: React.FC<PermissionTableProps> = ({
138
140
  options?.border && "border rounded-md"
139
141
  } ${height}`}
140
142
  >
141
- <table className="w-full divide-y text-sm overflow-x-auto">
143
+ <table
144
+ className="w-full divide-y text-sm overflow-x-auto"
145
+ cellPadding={0}
146
+ >
142
147
  <thead className="sticky top-0 z-10">
143
148
  <tr className="bg-secondary-bg">
144
149
  <th className="sticky left-0 min-w-40 py-2 z-10 bg-secondary-bg font-medium">
@@ -581,7 +581,10 @@ export const Table: TableComponentProps = ({
581
581
  options?.border && "border rounded-md"
582
582
  }`}
583
583
  >
584
- <table className="w-full divide-y text-sm overflow-x-auto">
584
+ <table
585
+ className="w-full divide-y text-sm overflow-x-auto"
586
+ cellPadding={0}
587
+ >
585
588
  <thead className="sticky top-0 z-10">
586
589
  <tr>
587
590
  {checkbox && (