next-helios-fe 1.4.40 → 1.4.42
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
@@ -64,7 +64,7 @@ export const Button: React.FC<ButtonProps> = ({
|
|
64
64
|
|
65
65
|
return (
|
66
66
|
<button
|
67
|
-
className={`relative flex ${position} items-center ${width} px-3 ${height} rounded-md text-left ${variant} ${border} ${isActive} select-none disabled:pointer-events-none
|
67
|
+
className={`relative flex ${position} items-center ${width} px-3 ${height} rounded-md text-left ${variant} ${border} ${isActive} select-none disabled:pointer-events-none ${className}`}
|
68
68
|
{...rest}
|
69
69
|
>
|
70
70
|
{loading ? (
|
@@ -39,7 +39,7 @@ export const Drawer: React.FC<DrawerProps> = ({
|
|
39
39
|
>
|
40
40
|
<button
|
41
41
|
type="button"
|
42
|
-
className="group sticky top-36 h-min rounded-l-md text-white bg-primary p-2 hover:bg-primary-dark pointer-events-auto
|
42
|
+
className="group sticky top-36 h-min rounded-l-md text-white bg-primary p-2 hover:bg-primary-dark pointer-events-auto"
|
43
43
|
onClick={() => {
|
44
44
|
setOpen((prev) => !prev);
|
45
45
|
}}
|
@@ -393,7 +393,7 @@ export const Table: TableComponentProps = ({
|
|
393
393
|
return (
|
394
394
|
<tr key={item.id}>
|
395
395
|
{checkbox && (
|
396
|
-
<td className="sticky left-0 w-8 px-4 py-1 bg-secondary-bg">
|
396
|
+
<td className="sticky left-0 w-8 px-4 py-1.5 bg-secondary-bg">
|
397
397
|
<Form.Checkbox
|
398
398
|
options={{ disableHover: true }}
|
399
399
|
checked={
|
@@ -414,7 +414,7 @@ export const Table: TableComponentProps = ({
|
|
414
414
|
</td>
|
415
415
|
)}
|
416
416
|
{!options?.hideNumberColumn && (
|
417
|
-
<td className="sticky left-0 px-4 py-1 bg-secondary-bg text-center">
|
417
|
+
<td className="sticky left-0 px-4 py-1.5 bg-secondary-bg text-center">
|
418
418
|
{(page - 1) * maxRow + index + 1}
|
419
419
|
</td>
|
420
420
|
)}
|
@@ -425,7 +425,7 @@ export const Table: TableComponentProps = ({
|
|
425
425
|
return (
|
426
426
|
<td
|
427
427
|
key={headerItem.key}
|
428
|
-
className="px-4 py-1 bg-secondary-bg whitespace-nowrap"
|
428
|
+
className="px-4 py-1.5 bg-secondary-bg whitespace-nowrap"
|
429
429
|
>
|
430
430
|
{headerItem.render(item)}
|
431
431
|
</td>
|
@@ -434,7 +434,7 @@ export const Table: TableComponentProps = ({
|
|
434
434
|
return (
|
435
435
|
<td
|
436
436
|
key={headerItem.key}
|
437
|
-
className="px-4 py-1 bg-secondary-bg whitespace-nowrap"
|
437
|
+
className="px-4 py-1.5 bg-secondary-bg whitespace-nowrap"
|
438
438
|
>
|
439
439
|
{item[headerItem.key as keyof typeof item]}
|
440
440
|
</td>
|
@@ -442,7 +442,7 @@ export const Table: TableComponentProps = ({
|
|
442
442
|
}
|
443
443
|
})}
|
444
444
|
{actionColumn && (
|
445
|
-
<td className="sticky right-0 px-4 py-1 bg-secondary-bg text-center">
|
445
|
+
<td className="sticky right-0 px-4 py-1.5 bg-secondary-bg text-center">
|
446
446
|
{actionColumn(item)}
|
447
447
|
</td>
|
448
448
|
)}
|
@@ -482,7 +482,7 @@ export const Table: TableComponentProps = ({
|
|
482
482
|
<button
|
483
483
|
key={index}
|
484
484
|
type="button"
|
485
|
-
className={`p-1.5 rounded-full text-white
|
485
|
+
className={`p-1.5 rounded-full text-white ${variant}`}
|
486
486
|
onClick={(e) => {
|
487
487
|
item.onClick && item.onClick(e);
|
488
488
|
}}
|
@@ -494,7 +494,7 @@ export const Table: TableComponentProps = ({
|
|
494
494
|
{options?.toolbar?.addData?.show !== false && (
|
495
495
|
<button
|
496
496
|
type="button"
|
497
|
-
className="p-1.5 rounded-full bg-primary text-white hover:bg-primary-dark
|
497
|
+
className="p-1.5 rounded-full bg-primary text-white hover:bg-primary-dark"
|
498
498
|
onClick={(e) => {
|
499
499
|
options?.toolbar?.addData?.onClick &&
|
500
500
|
options?.toolbar?.addData?.onClick(e);
|