@tecsinapse/cortex-core 0.2.2-beta.2 → 0.3.0-beta.0

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.
@@ -3,15 +3,19 @@
3
3
  var tailwindVariants = require('tailwind-variants');
4
4
 
5
5
  const option = tailwindVariants.tv({
6
- base: "text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium"
6
+ base: "text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium",
7
+ variants: {
8
+ selected: {
9
+ true: "text-primary-medium"
10
+ }
11
+ }
7
12
  });
8
13
  const selectVariants = tailwindVariants.tv({
9
14
  slots: {
10
- dropdown: "text-base max-h-[30vh] w-full bg-white mt-0 rounded-mili overflow-y-scroll py-mili transition-all duration-300 origin-top-left absolute list-none z-30 px-micro shadow-lg ",
15
+ dropdown: "flex flex-col gap-y-mili text-base max-h-[30vh] w-full bg-white mt-0 rounded-mili overflow-y-scroll py-mili transition-all duration-300 origin-top-left absolute list-none z-30 shadow-lg",
11
16
  button: "flex w-full justify-between items-center bg-white relative min-h-[44px] h-auto flex px-centi py-1.5 text-base font-bold items-center bg-transparent border border-secondary-light rounded-mili",
12
17
  groupedTitle: "font-bold text-secondary-medium",
13
- containerGrouped: "m-centi",
14
- hintBody: "flex flex-row gap-1 mt-mili"
18
+ containerGrouped: "mx-centi"
15
19
  },
16
20
  variants: {
17
21
  open: {
@@ -1,15 +1,19 @@
1
1
  import { tv } from 'tailwind-variants';
2
2
 
3
3
  const option = tv({
4
- base: "text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium"
4
+ base: "text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium",
5
+ variants: {
6
+ selected: {
7
+ true: "text-primary-medium"
8
+ }
9
+ }
5
10
  });
6
11
  const selectVariants = tv({
7
12
  slots: {
8
- dropdown: "text-base max-h-[30vh] w-full bg-white mt-0 rounded-mili overflow-y-scroll py-mili transition-all duration-300 origin-top-left absolute list-none z-30 px-micro shadow-lg ",
13
+ dropdown: "flex flex-col gap-y-mili text-base max-h-[30vh] w-full bg-white mt-0 rounded-mili overflow-y-scroll py-mili transition-all duration-300 origin-top-left absolute list-none z-30 shadow-lg",
9
14
  button: "flex w-full justify-between items-center bg-white relative min-h-[44px] h-auto flex px-centi py-1.5 text-base font-bold items-center bg-transparent border border-secondary-light rounded-mili",
10
15
  groupedTitle: "font-bold text-secondary-medium",
11
- containerGrouped: "m-centi",
12
- hintBody: "flex flex-row gap-1 mt-mili"
16
+ containerGrouped: "mx-centi"
13
17
  },
14
18
  variants: {
15
19
  open: {
@@ -1,4 +1,32 @@
1
- export declare const option: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
1
+ export declare const option: import("tailwind-variants").TVReturnType<{
2
+ selected: {
3
+ true: string;
4
+ };
5
+ }, undefined, "text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium", import("tailwind-variants/dist/config").TVConfig<{
6
+ selected: {
7
+ true: string;
8
+ };
9
+ }, {
10
+ selected: {
11
+ true: string;
12
+ };
13
+ }>, {
14
+ selected: {
15
+ true: string;
16
+ };
17
+ }, undefined, import("tailwind-variants").TVReturnType<{
18
+ selected: {
19
+ true: string;
20
+ };
21
+ }, undefined, "text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium", import("tailwind-variants/dist/config").TVConfig<{
22
+ selected: {
23
+ true: string;
24
+ };
25
+ }, {
26
+ selected: {
27
+ true: string;
28
+ };
29
+ }>, unknown, unknown, undefined>>;
2
30
  export declare const selectVariants: import("tailwind-variants").TVReturnType<{
3
31
  open: {
4
32
  true: {
@@ -24,7 +52,6 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
24
52
  button: string;
25
53
  groupedTitle: string;
26
54
  containerGrouped: string;
27
- hintBody: string;
28
55
  }, undefined, import("tailwind-variants/dist/config").TVConfig<{
29
56
  open: {
30
57
  true: {
@@ -90,7 +117,6 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
90
117
  button: string;
91
118
  groupedTitle: string;
92
119
  containerGrouped: string;
93
- hintBody: string;
94
120
  }, import("tailwind-variants").TVReturnType<{
95
121
  open: {
96
122
  true: {
@@ -116,7 +142,6 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
116
142
  button: string;
117
143
  groupedTitle: string;
118
144
  containerGrouped: string;
119
- hintBody: string;
120
145
  }, undefined, import("tailwind-variants/dist/config").TVConfig<{
121
146
  open: {
122
147
  true: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecsinapse/cortex-core",
3
- "version": "0.2.2-beta.2",
3
+ "version": "0.3.0-beta.0",
4
4
  "license": "MIT",
5
5
  "description": "Core library for tailwindcss based design",
6
6
  "main": "dist/esm/index.js",
@@ -31,5 +31,5 @@
31
31
  "peerDependencies": {
32
32
  "tailwindcss": ">=3.3.0"
33
33
  },
34
- "gitHead": "0ecb7949c627cb5d2fe9395f148e48a0bb071599"
34
+ "gitHead": "cc8903eb4c3ec693fa6dbd384bfc407f39e144ae"
35
35
  }