@andreagiugni/tailwind-dashboard-ui 1.0.15 → 1.0.16

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.cjs CHANGED
@@ -427,7 +427,7 @@ var Dropdown = ({
427
427
  reactDom.createPortal(menu, document.body)
428
428
  ] });
429
429
  };
430
- var variantBase = "flex w-full items-center gap-2 rounded-lg px-3 py-2 text-left text-sm font-medium transition";
430
+ var variantBase = "flex h-11 w-full items-center gap-2 rounded-lg px-4 py-2.5 text-left text-sm font-medium transition";
431
431
  var variantClasses3 = {
432
432
  default: "text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-300 dark:hover:bg-white/5 dark:hover:text-white",
433
433
  primary: "bg-brand-500 text-white shadow-theme-xs hover:bg-brand-600",
@@ -788,7 +788,7 @@ function DataDrivenTable({
788
788
  setPageSize(Number(e.target.value));
789
789
  setPage(1);
790
790
  },
791
- className: "appearance-none rounded-lg border border-gray-200 bg-transparent py-1.5 pl-3 pr-9 text-sm text-gray-700 dark:border-white/[0.08] dark:text-white/90",
791
+ className: "h-11 appearance-none rounded-lg border border-gray-300 bg-white py-2.5 pl-4 pr-11 text-sm text-gray-700 shadow-theme-xs dark:border-gray-700 dark:bg-gray-900 dark:text-white/90",
792
792
  children: sizeOptions.map((n) => /* @__PURE__ */ jsxRuntime.jsx("option", { value: n, children: n }, n))
793
793
  }
794
794
  ),
@@ -796,7 +796,7 @@ function DataDrivenTable({
796
796
  lucideReact.ChevronDown,
797
797
  {
798
798
  "aria-hidden": "true",
799
- className: "pointer-events-none absolute right-3 top-1/2 size-4 -translate-y-1/2 text-gray-500 dark:text-gray-400"
799
+ className: "pointer-events-none absolute right-4 top-1/2 size-4 -translate-y-1/2 text-gray-500 dark:text-gray-400"
800
800
  }
801
801
  )
802
802
  ] }),
@@ -2562,7 +2562,7 @@ var MultiSelect = ({
2562
2562
  "div",
2563
2563
  {
2564
2564
  ref: triggerRef,
2565
- className: "mb-2 flex h-11 rounded-lg border border-gray-300 bg-white py-1.5 px-4 shadow-theme-xs outline-hidden transition focus:border-brand-300 focus:shadow-focus-ring dark:border-gray-700 dark:bg-gray-900 dark:focus:border-brand-300",
2565
+ className: "flex h-11 items-center overflow-hidden rounded-lg border border-gray-300 bg-white px-4 py-1.5 shadow-theme-xs outline-hidden transition focus:border-brand-300 focus:shadow-focus-ring dark:border-gray-700 dark:bg-gray-900 dark:focus:border-brand-300",
2566
2566
  children: [
2567
2567
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap flex-auto gap-2", children: selectedValuesText.length > 0 ? selectedValuesText.map((text, index) => /* @__PURE__ */ jsxRuntime.jsxs(
2568
2568
  "div",
@@ -2615,7 +2615,7 @@ var MultiSelect = ({
2615
2615
  ref: menuRef,
2616
2616
  className: chunkYERNSNT4_cjs.cn(
2617
2617
  "max-h-select overflow-y-auto rounded-lg bg-white shadow-sm dark:bg-gray-900",
2618
- portal ? chunkYERNSNT4_cjs.cn("fixed", chunkTF3G3E72_cjs.layers.portal) : chunkYERNSNT4_cjs.cn("absolute left-0 top-full w-full", chunkTF3G3E72_cjs.layers.menu)
2618
+ portal ? chunkYERNSNT4_cjs.cn("fixed", chunkTF3G3E72_cjs.layers.portal) : chunkYERNSNT4_cjs.cn("absolute left-0 top-full mt-1.5 w-full", chunkTF3G3E72_cjs.layers.menu)
2619
2619
  ),
2620
2620
  style: {
2621
2621
  ...portal && !menuPosition ? { visibility: "hidden" } : void 0,