@sikka/hawa 0.19.31-next → 0.19.32-next

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/dist/index.d.mts CHANGED
@@ -1738,6 +1738,7 @@ type ComparingPlansTypes = {
1738
1738
  onCurrencyChange?: (e: any) => void;
1739
1739
  direction?: DirectionType;
1740
1740
  showButtons?: boolean;
1741
+ topPosition?: number;
1741
1742
  };
1742
1743
  declare const ComparingPlans: FC<ComparingPlansTypes>;
1743
1744
 
package/dist/index.d.ts CHANGED
@@ -1738,6 +1738,7 @@ type ComparingPlansTypes = {
1738
1738
  onCurrencyChange?: (e: any) => void;
1739
1739
  direction?: DirectionType;
1740
1740
  showButtons?: boolean;
1741
+ topPosition?: number;
1741
1742
  };
1742
1743
  declare const ComparingPlans: FC<ComparingPlansTypes>;
1743
1744
 
package/dist/index.js CHANGED
@@ -11158,9 +11158,12 @@ var ComparingPlans = (props) => {
11158
11158
  "div",
11159
11159
  {
11160
11160
  className: cn(
11161
- "hawa-sticky hawa-top-0 hawa-z-10 hawa-grid hawa-grid-cols-4 hawa-gap-x-2 hawa-border hawa-p-4 hawa-text-sm hawa-font-medium hawa-rounded-t",
11161
+ "hawa-sticky hawa-z-10 hawa-grid hawa-grid-cols-4 hawa-gap-x-2 hawa-border hawa-p-4 hawa-text-sm hawa-font-medium hawa-rounded-t",
11162
11162
  "hawa-bg-primary-foreground"
11163
- )
11163
+ ),
11164
+ style: {
11165
+ top: props.topPosition || 0
11166
+ }
11164
11167
  },
11165
11168
  /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-items-center" }),
11166
11169
  props.plans.map((plan, i) => /* @__PURE__ */ import_react70.default.createElement(
package/dist/index.mjs CHANGED
@@ -10942,9 +10942,12 @@ var ComparingPlans = (props) => {
10942
10942
  "div",
10943
10943
  {
10944
10944
  className: cn(
10945
- "hawa-sticky hawa-top-0 hawa-z-10 hawa-grid hawa-grid-cols-4 hawa-gap-x-2 hawa-border hawa-p-4 hawa-text-sm hawa-font-medium hawa-rounded-t",
10945
+ "hawa-sticky hawa-z-10 hawa-grid hawa-grid-cols-4 hawa-gap-x-2 hawa-border hawa-p-4 hawa-text-sm hawa-font-medium hawa-rounded-t",
10946
10946
  "hawa-bg-primary-foreground"
10947
- )
10947
+ ),
10948
+ style: {
10949
+ top: props.topPosition || 0
10950
+ }
10948
10951
  },
10949
10952
  /* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-items-center" }),
10950
10953
  props.plans.map((plan, i) => /* @__PURE__ */ React96.createElement(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.19.31-next",
3
+ "version": "0.19.32-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",