@lctafrica/ui 1.2.7 → 1.2.8

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
@@ -15909,7 +15909,7 @@ function DE({
15909
15909
  "data-align-trigger": r === "item-aligned",
15910
15910
  "data-position": r,
15911
15911
  className: T(
15912
- "relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[position=popper]:w-(--radix-select-trigger-width) data-[position=popper]:min-w-(--radix-select-trigger-width) data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
15912
+ "relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[position=popper]:w-(--radix-select-trigger-width) data-[position=popper]:min-w-(--radix-select-trigger-width) data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ",
15913
15913
  r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
15914
15914
  e
15915
15915
  ),
@@ -16020,7 +16020,7 @@ function PE({
16020
16020
  children: /* @__PURE__ */ v(EE, { placeholder: o })
16021
16021
  }
16022
16022
  ),
16023
- /* @__PURE__ */ v(DE, { className: "max-h-75", children: /* @__PURE__ */ v(IE, { children: r?.map((d) => /* @__PURE__ */ v(NE, { value: d.value, children: d.label }, d.label)) }) })
16023
+ /* @__PURE__ */ v(DE, { className: "max-h-75", children: /* @__PURE__ */ v(IE, { children: r?.length === 0 ? /* @__PURE__ */ v("p", { className: "px-4 py-2 text-gray-500 text-sm", children: "No data found" }) : r?.map((d) => /* @__PURE__ */ v(NE, { value: d.value, children: d.label }, d.label)) }) })
16024
16024
  ]
16025
16025
  }
16026
16026
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lctafrica/ui",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",