next-helios-fe 1.8.71 → 1.8.73
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
@@ -464,7 +464,7 @@ export const Table: TableComponentProps = ({
|
|
464
464
|
</td>
|
465
465
|
)}
|
466
466
|
{!options?.hideNumberColumn && (
|
467
|
-
<td className="sticky left-0 w-8 px-4 py-1.5 bg-secondary-bg text-center">
|
467
|
+
<td className="sticky z-10 left-0 w-8 px-4 py-1.5 bg-secondary-bg text-center">
|
468
468
|
{(page - 1) * maxRow + index + 1}
|
469
469
|
</td>
|
470
470
|
)}
|
@@ -585,27 +585,18 @@ export const Table: TableComponentProps = ({
|
|
585
585
|
<Dropdown
|
586
586
|
dismissOnClick={false}
|
587
587
|
trigger={
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
>
|
594
|
-
<button
|
595
|
-
type="button"
|
596
|
-
className="px-2 py-2 rounded-full hover:bg-secondary-light"
|
597
|
-
>
|
598
|
-
<Icon icon="mage:filter" className="text-xl" />
|
599
|
-
</button>
|
600
|
-
</Tooltip>
|
601
|
-
) : (
|
588
|
+
<Tooltip
|
589
|
+
content={
|
590
|
+
options?.toolbar?.filter?.tooltip || "column filter"
|
591
|
+
}
|
592
|
+
>
|
602
593
|
<button
|
603
594
|
type="button"
|
604
595
|
className="px-2 py-2 rounded-full hover:bg-secondary-light"
|
605
596
|
>
|
606
597
|
<Icon icon="mage:filter" className="text-xl" />
|
607
598
|
</button>
|
608
|
-
|
599
|
+
</Tooltip>
|
609
600
|
}
|
610
601
|
>
|
611
602
|
{header?.map((item) => {
|
@@ -750,7 +741,7 @@ export const Table: TableComponentProps = ({
|
|
750
741
|
</th>
|
751
742
|
)}
|
752
743
|
{!options?.hideNumberColumn && (
|
753
|
-
<th className="sticky left-0 w-8 px-4 py-2
|
744
|
+
<th className="sticky left-0 z-10 w-8 px-4 py-2 bg-secondary-bg font-medium text-center whitespace-nowrap">
|
754
745
|
<div className="flex flex-col">
|
755
746
|
<span>No.</span>
|
756
747
|
{options?.toolbar?.columnSearch?.show !== false && (
|
@@ -193,7 +193,7 @@ export const Tooltip: React.FC<TooltipProps> = ({
|
|
193
193
|
createPortal(
|
194
194
|
<div
|
195
195
|
ref={tooltipRef}
|
196
|
-
className={`absolute z-
|
196
|
+
className={`absolute z-10 duration-200 transition-opacity ${
|
197
197
|
visible ? "" : "hidden pointer-events-none"
|
198
198
|
} ${options?.enableHover ? "" : "pointer-events-none"}`}
|
199
199
|
style={getTooltipPosition()}
|