@tecsinapse/cortex-react 1.9.0 → 1.9.2
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.
|
@@ -8,7 +8,7 @@ const groupButton = tailwindVariants.tv({
|
|
|
8
8
|
inactive: "bg-white text-secondary-medium disabled:bg-secondary-light",
|
|
9
9
|
firstButton: "first:rounded-l-mili first:border-r-0",
|
|
10
10
|
lastButton: "last:rounded-r-mili last:border-l-0",
|
|
11
|
-
container: "flex flex-row
|
|
11
|
+
container: "flex flex-row h-[2rem]",
|
|
12
12
|
active: "text-white bg-secondary-medium"
|
|
13
13
|
}
|
|
14
14
|
});
|
|
@@ -6,7 +6,7 @@ const groupButton = tv({
|
|
|
6
6
|
inactive: "bg-white text-secondary-medium disabled:bg-secondary-light",
|
|
7
7
|
firstButton: "first:rounded-l-mili first:border-r-0",
|
|
8
8
|
lastButton: "last:rounded-r-mili last:border-l-0",
|
|
9
|
-
container: "flex flex-row
|
|
9
|
+
container: "flex flex-row h-[2rem]",
|
|
10
10
|
active: "text-white bg-secondary-medium"
|
|
11
11
|
}
|
|
12
12
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export interface ContentProps {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
className?: string;
|
|
@@ -46,7 +46,7 @@ export interface SelectRootProps<T> {
|
|
|
46
46
|
labelExtractor: (value: T) => string;
|
|
47
47
|
className?: string;
|
|
48
48
|
}
|
|
49
|
-
export interface SelectTriggerProps extends
|
|
49
|
+
export interface SelectTriggerProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
50
50
|
label: string;
|
|
51
51
|
placeholder?: string;
|
|
52
52
|
disabled?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-react",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": "React components based in @tecsinapse/cortex-core",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"react-dom": ">=18.0.0",
|
|
49
49
|
"tailwind": ">=3.3.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "6601e55a285cf5597628b894bc6036d5ced8d4ea"
|
|
52
52
|
}
|