next-helios-fe 1.4.41 → 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
|
}}
|
@@ -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);
|