next-helios-fe 1.9.3 → 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.3",
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>