@andreagiugni/tailwind-dashboard-ui 1.0.15 → 1.0.17

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
@@ -421,7 +421,7 @@ var Dropdown = ({
421
421
  createPortal(menu, document.body)
422
422
  ] });
423
423
  };
424
- var variantBase = "flex w-full items-center gap-2 rounded-lg px-3 py-2 text-left text-sm font-medium transition";
424
+ var variantBase = "flex h-10 w-full items-center gap-2 rounded-lg px-4 py-2.5 text-left text-sm font-medium transition";
425
425
  var variantClasses3 = {
426
426
  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",
427
427
  primary: "bg-brand-500 text-white shadow-theme-xs hover:bg-brand-600",
@@ -782,7 +782,7 @@ function DataDrivenTable({
782
782
  setPageSize(Number(e.target.value));
783
783
  setPage(1);
784
784
  },
785
- 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",
785
+ 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",
786
786
  children: sizeOptions.map((n) => /* @__PURE__ */ jsx("option", { value: n, children: n }, n))
787
787
  }
788
788
  ),
@@ -790,7 +790,7 @@ function DataDrivenTable({
790
790
  ChevronDown,
791
791
  {
792
792
  "aria-hidden": "true",
793
- className: "pointer-events-none absolute right-3 top-1/2 size-4 -translate-y-1/2 text-gray-500 dark:text-gray-400"
793
+ className: "pointer-events-none absolute right-4 top-1/2 size-4 -translate-y-1/2 text-gray-500 dark:text-gray-400"
794
794
  }
795
795
  )
796
796
  ] }),
@@ -2556,7 +2556,7 @@ var MultiSelect = ({
2556
2556
  "div",
2557
2557
  {
2558
2558
  ref: triggerRef,
2559
- 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",
2559
+ 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",
2560
2560
  children: [
2561
2561
  /* @__PURE__ */ jsx("div", { className: "flex flex-wrap flex-auto gap-2", children: selectedValuesText.length > 0 ? selectedValuesText.map((text, index) => /* @__PURE__ */ jsxs(
2562
2562
  "div",
@@ -2609,7 +2609,7 @@ var MultiSelect = ({
2609
2609
  ref: menuRef,
2610
2610
  className: cn(
2611
2611
  "max-h-select overflow-y-auto rounded-lg bg-white shadow-sm dark:bg-gray-900",
2612
- portal ? cn("fixed", layers.portal) : cn("absolute left-0 top-full w-full", layers.menu)
2612
+ portal ? cn("fixed", layers.portal) : cn("absolute left-0 top-full mt-1.5 w-full", layers.menu)
2613
2613
  ),
2614
2614
  style: {
2615
2615
  ...portal && !menuPosition ? { visibility: "hidden" } : void 0,