@lctafrica/ui 1.2.4 → 1.2.6

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.js CHANGED
@@ -11625,7 +11625,7 @@ function FM({
11625
11625
  "rounded-t-xl!": s === 0 && !i
11626
11626
  }),
11627
11627
  children: [
11628
- a.Icon,
11628
+ a.optionLeft,
11629
11629
  a.label
11630
11630
  ]
11631
11631
  },
@@ -15724,7 +15724,7 @@ function uO({
15724
15724
  H$,
15725
15725
  {
15726
15726
  "data-slot": "select-value",
15727
- className: "data-placeholder:text-gray-500",
15727
+ className: "data-placeholder:text-gray-500 overflow-hidden text-nowrap text-ellipsis",
15728
15728
  ...e
15729
15729
  }
15730
15730
  );
@@ -15746,13 +15746,13 @@ function dO({
15746
15746
  "data-size": t,
15747
15747
  className: M(
15748
15748
  eo(),
15749
- "flex w-fit items-center justify-between gap-1.5 data-placeholder:text-gray-500",
15749
+ "relative flex items-center justify-between gap-1.5 data-placeholder:text-gray-500 overflow-hidden text-nowrap text-ellipsis",
15750
15750
  e
15751
15751
  ),
15752
15752
  ...a,
15753
15753
  children: [
15754
15754
  r,
15755
- s ? /* @__PURE__ */ v(
15755
+ /* @__PURE__ */ v(B$, { className: "absolute right-0 inset-y-0 flex items-center bg-white pr-2 pl-1", children: s ? /* @__PURE__ */ v(
15756
15756
  "button",
15757
15757
  {
15758
15758
  className: "flex size-4 shrink-0 cursor-pointer items-center justify-center text-muted-foreground transition-colors hover:text-foreground",
@@ -15764,7 +15764,7 @@ function dO({
15764
15764
  },
15765
15765
  children: /* @__PURE__ */ v(wa, { className: "size-4" })
15766
15766
  }
15767
- ) : /* @__PURE__ */ v(B$, { asChild: !0, children: /* @__PURE__ */ v(Ic, { className: "pointer-events-none size-4 text-muted-foreground" }) })
15767
+ ) : /* @__PURE__ */ v(Ic, { className: "pointer-events-none size-4 text-muted-foreground" }) })
15768
15768
  ]
15769
15769
  }
15770
15770
  );
@@ -15887,14 +15887,14 @@ function gO({
15887
15887
  /* @__PURE__ */ v(
15888
15888
  dO,
15889
15889
  {
15890
- className: M("w-full", s),
15890
+ className: M("min-w-37.5 w-full", s),
15891
15891
  hasValue: u,
15892
15892
  onClear: () => t?.(""),
15893
15893
  showClearButton: l,
15894
15894
  children: /* @__PURE__ */ v(uO, { placeholder: o })
15895
15895
  }
15896
15896
  ),
15897
- /* @__PURE__ */ v(fO, { children: /* @__PURE__ */ v(cO, { children: r?.map((d) => /* @__PURE__ */ v(mO, { value: d.value, children: d.label }, d.label)) }) })
15897
+ /* @__PURE__ */ v(fO, { className: "max-h-75", children: /* @__PURE__ */ v(cO, { children: r?.map((d) => /* @__PURE__ */ v(mO, { value: d.value, children: d.label }, d.label)) }) })
15898
15898
  ]
15899
15899
  }
15900
15900
  );
@@ -27625,7 +27625,7 @@ function rT({
27625
27625
  anchor: "bottom",
27626
27626
  transition: !0,
27627
27627
  className: M(
27628
- "w-(--input-width) rounded-xl border ring-black/5 shadow-lg ring bg-white [--anchor-gap:--spacing(1)] empty:invisible",
27628
+ "w-(--input-width) rounded-xl border border-gray-200 shadow-lg bg-white [--anchor-gap:--spacing(1)] empty:invisible max-h-75",
27629
27629
  "transition duration-100 ease-in data-leave:data-closed:opacity-0"
27630
27630
  ),
27631
27631
  children: c?.map((h) => /* @__PURE__ */ fe(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lctafrica/ui",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",