@tecsinapse/cortex-react 1.14.1-beta.1 → 1.14.1-beta.3

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.
@@ -7,13 +7,15 @@ const menubar = tailwindVariants.tv({
7
7
  header: "relative w-screen px-kilo py-deca flex flex-row md:justify-between bg-white z-header sm:justify-start",
8
8
  left: "flex items-center w-fit",
9
9
  right: "flex items-center gap-x-deca hidden sm:flex",
10
- dropdown: "w-full bg-white flex-1 shadow-default z-popover px-[8vw] absolute"
10
+ dropdown: "w-full bg-white flex-1 shadow-default z-popover px-[8vw]"
11
11
  },
12
12
  variants: {
13
13
  show: {
14
14
  true: {
15
- dropdown: "pt-kilo pb-mega",
16
- false: "max-h-0"
15
+ dropdown: "pt-kilo pb-mega"
16
+ },
17
+ false: {
18
+ dropdown: "max-h-0"
17
19
  }
18
20
  }
19
21
  }
@@ -52,11 +54,11 @@ const subItem = tailwindVariants.tv({
52
54
  }
53
55
  });
54
56
  const animate = tailwindVariants.tv({
55
- base: "transition-all ease-in-out duration-250",
57
+ base: "transition-all ease-in-out duration-250 overflow-hidden",
56
58
  variants: {
57
59
  show: {
58
- true: "translate-y-0 opacity-1 visible",
59
- false: "-translate-y-[120%] opacity-0 invisible max-h-0"
60
+ true: "max-h-screen",
61
+ false: "max-h-0"
60
62
  }
61
63
  }
62
64
  });
@@ -5,13 +5,15 @@ const menubar = tv({
5
5
  header: "relative w-screen px-kilo py-deca flex flex-row md:justify-between bg-white z-header sm:justify-start",
6
6
  left: "flex items-center w-fit",
7
7
  right: "flex items-center gap-x-deca hidden sm:flex",
8
- dropdown: "w-full bg-white flex-1 shadow-default z-popover px-[8vw] absolute"
8
+ dropdown: "w-full bg-white flex-1 shadow-default z-popover px-[8vw]"
9
9
  },
10
10
  variants: {
11
11
  show: {
12
12
  true: {
13
- dropdown: "pt-kilo pb-mega",
14
- false: "max-h-0"
13
+ dropdown: "pt-kilo pb-mega"
14
+ },
15
+ false: {
16
+ dropdown: "max-h-0"
15
17
  }
16
18
  }
17
19
  }
@@ -50,11 +52,11 @@ const subItem = tv({
50
52
  }
51
53
  });
52
54
  const animate = tv({
53
- base: "transition-all ease-in-out duration-250",
55
+ base: "transition-all ease-in-out duration-250 overflow-hidden",
54
56
  variants: {
55
57
  show: {
56
- true: "translate-y-0 opacity-1 visible",
57
- false: "-translate-y-[120%] opacity-0 invisible max-h-0"
58
+ true: "max-h-screen",
59
+ false: "max-h-0"
58
60
  }
59
61
  }
60
62
  });
@@ -2,7 +2,9 @@ export declare const menubar: import("tailwind-variants").TVReturnType<{
2
2
  show: {
3
3
  true: {
4
4
  dropdown: string;
5
- false: string;
5
+ };
6
+ false: {
7
+ dropdown: string;
6
8
  };
7
9
  };
8
10
  }, {
@@ -14,7 +16,9 @@ export declare const menubar: import("tailwind-variants").TVReturnType<{
14
16
  show: {
15
17
  true: {
16
18
  dropdown: string;
17
- false: string;
19
+ };
20
+ false: {
21
+ dropdown: string;
18
22
  };
19
23
  };
20
24
  }, {
@@ -26,7 +30,9 @@ export declare const menubar: import("tailwind-variants").TVReturnType<{
26
30
  show: {
27
31
  true: {
28
32
  dropdown: string;
29
- false: string;
33
+ };
34
+ false: {
35
+ dropdown: string;
30
36
  };
31
37
  };
32
38
  }, {
@@ -213,7 +219,7 @@ export declare const animate: import("tailwind-variants").TVReturnType<{
213
219
  true: string;
214
220
  false: string;
215
221
  };
216
- }, undefined, "transition-all ease-in-out duration-250", {
222
+ }, undefined, "transition-all ease-in-out duration-250 overflow-hidden", {
217
223
  show: {
218
224
  true: string;
219
225
  false: string;
@@ -223,4 +229,4 @@ export declare const animate: import("tailwind-variants").TVReturnType<{
223
229
  true: string;
224
230
  false: string;
225
231
  };
226
- }, undefined, "transition-all ease-in-out duration-250", unknown, unknown, undefined>>;
232
+ }, undefined, "transition-all ease-in-out duration-250 overflow-hidden", unknown, unknown, undefined>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecsinapse/cortex-react",
3
- "version": "1.14.1-beta.1",
3
+ "version": "1.14.1-beta.3",
4
4
  "description": "React components based in @tecsinapse/cortex-core",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
@@ -20,7 +20,7 @@
20
20
  "dependencies": {
21
21
  "@floating-ui/react": "^0.26.18",
22
22
  "@internationalized/date": "3.7.0",
23
- "@tecsinapse/cortex-core": "1.2.0-beta.9",
23
+ "@tecsinapse/cortex-core": "1.2.0-beta.11",
24
24
  "clsx": "2.1.1",
25
25
  "currency.js": "2.0.4",
26
26
  "embla-carousel-autoplay": "^8.0.0",
@@ -46,7 +46,7 @@
46
46
  "react": ">=18.0.0 || ^19.0.0",
47
47
  "react-dom": ">=18.0.0 || ^19.0.0",
48
48
  "react-icons": ">=5.2.0",
49
- "tailwind": ">=3.3.0"
49
+ "tailwindcss": "^4.1.16"
50
50
  },
51
- "gitHead": "b7e6698f18e533fa52aa672c4cad4ec9b140751b"
51
+ "gitHead": "602490b0038907a0965283c460819443043ca692"
52
52
  }