@sikka/hawa 0.19.30-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.css CHANGED
@@ -1428,9 +1428,6 @@ input[type="number"]::-webkit-inner-spin-button,
1428
1428
  .hawa-h-\[48px\] {
1429
1429
  height: 48px;
1430
1430
  }
1431
- .hawa-h-\[70dvh\] {
1432
- height: 70dvh;
1433
- }
1434
1431
  .hawa-h-\[72px\] {
1435
1432
  height: 72px;
1436
1433
  }
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(
@@ -11171,7 +11174,7 @@ var ComparingPlans = (props) => {
11171
11174
  },
11172
11175
  /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ import_react70.default.createElement("div", { className: " hawa-flex hawa-items-baseline " }, /* @__PURE__ */ import_react70.default.createElement(import_react70.default.Fragment, null, /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
11173
11176
  ))
11174
- ), /* @__PURE__ */ import_react70.default.createElement(ScrollArea, { className: "hawa-h-[70dvh] hawa-rounded hawa-rounded-t-none hawa-border-t-0 hawa-border" }, uniqueFeatures.map((featureText, featureIndex) => {
11177
+ ), /* @__PURE__ */ import_react70.default.createElement(ScrollArea, { className: "hawa-h-fit hawa-rounded hawa-rounded-t-none hawa-border-t-0 hawa-border" }, uniqueFeatures.map((featureText, featureIndex) => {
11175
11178
  var _a, _b;
11176
11179
  return /* @__PURE__ */ import_react70.default.createElement(
11177
11180
  "div",
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(
@@ -10955,7 +10958,7 @@ var ComparingPlans = (props) => {
10955
10958
  },
10956
10959
  /* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ React96.createElement("div", { className: " hawa-flex hawa-items-baseline " }, /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React96.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React96.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
10957
10960
  ))
10958
- ), /* @__PURE__ */ React96.createElement(ScrollArea, { className: "hawa-h-[70dvh] hawa-rounded hawa-rounded-t-none hawa-border-t-0 hawa-border" }, uniqueFeatures.map((featureText, featureIndex) => {
10961
+ ), /* @__PURE__ */ React96.createElement(ScrollArea, { className: "hawa-h-fit hawa-rounded hawa-rounded-t-none hawa-border-t-0 hawa-border" }, uniqueFeatures.map((featureText, featureIndex) => {
10959
10962
  var _a, _b;
10960
10963
  return /* @__PURE__ */ React96.createElement(
10961
10964
  "div",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.19.30-next",
3
+ "version": "0.19.32-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",