next-helios-fe 1.9.2 → 1.9.4

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.9.2",
3
+ "version": "1.9.4",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,6 +8,8 @@ interface CarouselProps {
8
8
  variant?: "basic" | "primary";
9
9
  interval?: number;
10
10
  pauseOnHover?: boolean;
11
+ disableRounded?: boolean;
12
+ disablePadding?: boolean;
11
13
  };
12
14
  }
13
15
 
@@ -41,7 +43,9 @@ export const Carousel: React.FC<CarouselProps> = ({ children, options }) => {
41
43
  },
42
44
  base: "h-3 w-3 rounded-full",
43
45
  wrapper: `absolute bottom-4 left-1/2 flex -translate-x-1/2 space-x-3 px-2 py-0.5 rounded-full ${
44
- options?.variant === "primary" ? "bg-white/30" : "bg-primary-transparent"
46
+ options?.variant === "primary"
47
+ ? "bg-white/30"
48
+ : "bg-primary-transparent"
45
49
  }`,
46
50
  },
47
51
  control: {
@@ -60,7 +64,9 @@ export const Carousel: React.FC<CarouselProps> = ({ children, options }) => {
60
64
  return (
61
65
  <div
62
66
  key={index}
63
- className={`relative grid w-full h-full p-6 rounded-md shadow-md overflow-hidden ${variant}`}
67
+ className={`relative grid w-full h-full shadow-md overflow-hidden ${variant} ${
68
+ options?.disableRounded ? "" : "rounded-md"
69
+ } ${options?.disablePadding ? "" : "p-6"}`}
64
70
  >
65
71
  {item}
66
72
  </div>
@@ -707,7 +707,7 @@ export const Table: TableComponentProps = ({
707
707
  return (
708
708
  <tr key={item?.[options?.customDataIdName ?? "id"]}>
709
709
  {checkbox && (
710
- <td className="sticky left-0 z-10 w-8 bg-secondary-bg px-4 py-1.5">
710
+ <td className="sticky left-0 z-[1] w-8 bg-secondary-bg px-4 py-1.5">
711
711
  <Form.Checkbox
712
712
  options={{ disableHover: true }}
713
713
  checked={
@@ -757,7 +757,7 @@ export const Table: TableComponentProps = ({
757
757
  </td>
758
758
  )}
759
759
  {!options?.hideNumberColumn && (
760
- <td className="sticky left-0 z-10 w-8 bg-secondary-bg px-4 py-1.5 text-center">
760
+ <td className="sticky left-0 z-[1] w-8 bg-secondary-bg px-4 py-1.5 text-center">
761
761
  {(page - 1) * maxRow + index + 1}
762
762
  </td>
763
763
  )}