negodesign 0.0.79 → 0.0.81

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.
@@ -79,7 +79,8 @@
79
79
 
80
80
  {#if open && children}
81
81
  <div
82
- class="absolute left-0 top-full z-50 md:z-100 mt-1.5 w-max rounded-2xl bg-popover p-2.5 pr-3 overflow-hidden text-popover-foreground shadow-2xl ring-1 ring-foreground/5"
82
+ style="z-index: 9999;"
83
+ class="absolute left-0 top-full mt-1.5 w-max rounded-2xl bg-popover p-2.5 pr-3 overflow-hidden text-popover-foreground shadow-2xl ring-1 ring-foreground/5"
83
84
  >
84
85
  {@render children()}
85
86
  </div>
@@ -13,10 +13,9 @@
13
13
 
14
14
  const cols = (): string => {
15
15
  const len = items?.length ?? 0;
16
- if (len > 10) return "md:grid-cols-3 lg:grid-cols-4";
17
- if (len > 5) return "md:grid-cols-3";
18
- if (len % 3 == 0) return "md:grid-cols-3";
19
- if (len % 2 == 0) return "md:grid-cols-2";
16
+ if (len > 5) return "grid-cols-1 md:grid-cols-3";
17
+ if (len % 3 == 0) return "grid-cols-1 md:grid-cols-3";
18
+ if (len % 2 == 0) return "grid-cols-1 md:grid-cols-2";
20
19
  return "grid-cols-1";
21
20
  };
22
21
 
package/dist/globals.css CHANGED
@@ -4080,9 +4080,6 @@
4080
4080
  .md\:left-auto {
4081
4081
  left: auto;
4082
4082
  }
4083
- .md\:z-100 {
4084
- z-index: 100;
4085
- }
4086
4083
  .md\:col-span-2 {
4087
4084
  grid-column: span 2 / span 2;
4088
4085
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "negodesign",
3
- "version": "0.0.79",
3
+ "version": "0.0.81",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "sideEffects": [