negodesign 0.0.16 → 0.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.
@@ -4,9 +4,10 @@
4
4
  import type { Snippet } from "svelte";
5
5
 
6
6
  let {
7
- navMenu,
8
7
  items,
8
+ navMenu,
9
9
  children,
10
+ className,
10
11
  intervalMs = 5000,
11
12
  transitionMs = 1200,
12
13
  }: CarouselHeroProps & {
@@ -81,7 +82,7 @@
81
82
 
82
83
  {#if selected}
83
84
  <header
84
- class="w-full relative flex flex-col justify-center items-center h-[300px] md:h-[400px] overflow-hidden"
85
+ class="w-full relative flex flex-col justify-center items-center h-75 md:h-100 overflow-hidden {className}"
85
86
  >
86
87
  {#each layers as bg, i (i)}
87
88
  <div
@@ -39,6 +39,7 @@ export interface CarouselHeroItem {
39
39
  description: string;
40
40
  }
41
41
  export interface CarouselHeroProps {
42
- navMenu: NavMenuProps;
43
42
  items: CarouselHeroItem[];
43
+ navMenu: NavMenuProps;
44
+ className?: string;
44
45
  }
package/dist/globals.css CHANGED
@@ -686,8 +686,8 @@
686
686
  .h-72 {
687
687
  height: calc(var(--spacing) * 72);
688
688
  }
689
- .h-\[300px\] {
690
- height: 300px;
689
+ .h-75 {
690
+ height: calc(var(--spacing) * 75);
691
691
  }
692
692
  .h-\[calc\(100\%-1px\)\] {
693
693
  height: calc(100% - 1px);
@@ -3241,12 +3241,12 @@
3241
3241
  .md\:h-37\.5 {
3242
3242
  height: calc(var(--spacing) * 37.5);
3243
3243
  }
3244
+ .md\:h-100 {
3245
+ height: calc(var(--spacing) * 100);
3246
+ }
3244
3247
  .md\:h-125 {
3245
3248
  height: calc(var(--spacing) * 125);
3246
3249
  }
3247
- .md\:h-\[400px\] {
3248
- height: 400px;
3249
- }
3250
3250
  .md\:min-h-15 {
3251
3251
  min-height: calc(var(--spacing) * 15);
3252
3252
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "negodesign",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "sideEffects": [