tera-system-ui 0.0.68 → 0.0.70
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.
|
@@ -19,7 +19,7 @@ export declare const styles: import("tailwind-variants").TVReturnType<{
|
|
|
19
19
|
dangerous: {
|
|
20
20
|
true: string;
|
|
21
21
|
};
|
|
22
|
-
}, undefined, "relative overflow-clip rounded inline-flex items-center justify-center !leading-[0.1rem] [&>svg]:stroke-icon transition-all duration-element-react select-none focus-visible:ring-2 outline-none", import("tailwind-variants/dist/config").TVConfig<{
|
|
22
|
+
}, undefined, "relative font-medium overflow-clip rounded inline-flex items-center justify-center !leading-[0.1rem] [&>svg]:stroke-icon transition-all duration-element-react select-none focus-visible:ring-2 outline-none", import("tailwind-variants/dist/config").TVConfig<{
|
|
23
23
|
variant: {
|
|
24
24
|
primary: string;
|
|
25
25
|
secondary: string;
|
|
@@ -99,7 +99,7 @@ export declare const styles: import("tailwind-variants").TVReturnType<{
|
|
|
99
99
|
dangerous: {
|
|
100
100
|
true: string;
|
|
101
101
|
};
|
|
102
|
-
}, undefined, "relative overflow-clip rounded inline-flex items-center justify-center !leading-[0.1rem] [&>svg]:stroke-icon transition-all duration-element-react select-none focus-visible:ring-2 outline-none", import("tailwind-variants/dist/config").TVConfig<{
|
|
102
|
+
}, undefined, "relative font-medium overflow-clip rounded inline-flex items-center justify-center !leading-[0.1rem] [&>svg]:stroke-icon transition-all duration-element-react select-none focus-visible:ring-2 outline-none", import("tailwind-variants/dist/config").TVConfig<{
|
|
103
103
|
variant: {
|
|
104
104
|
primary: string;
|
|
105
105
|
secondary: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { tv } from "tailwind-variants";
|
|
2
2
|
export const styles = tv({
|
|
3
|
-
base: 'relative overflow-clip rounded inline-flex items-center justify-center !leading-[0.1rem] [&>svg]:stroke-icon transition-all duration-element-react select-none focus-visible:ring-2 outline-none',
|
|
3
|
+
base: 'relative font-medium overflow-clip rounded inline-flex items-center justify-center !leading-[0.1rem] [&>svg]:stroke-icon transition-all duration-element-react select-none focus-visible:ring-2 outline-none',
|
|
4
4
|
variants: {
|
|
5
5
|
variant: {
|
|
6
|
-
primary: 'bg-primary-
|
|
7
|
-
secondary: 'bg-neutral-token-
|
|
6
|
+
primary: 'bg-primary-700 text-neutral-1 border border-primary-700 hover:bg-primary-800 focus:ring-primary-token-9 [&:after]:bg-black',
|
|
7
|
+
secondary: 'bg-neutral-token-4 text-neutral-token-13 border-neutral-token-4 border hover:bg-neutral-token-5 focus:ring-neutral-token-7',
|
|
8
8
|
ghost: 'text-neutral-token-13 hover:bg-neutral-token-3 focus:ring-neutral-token-7',
|
|
9
9
|
},
|
|
10
10
|
size: {
|
|
@@ -13,7 +13,7 @@ export const styles = tv({
|
|
|
13
13
|
lg: 'h-10 px-3 gap-1.5 [&>svg]:size-icon-md',
|
|
14
14
|
},
|
|
15
15
|
disabled: {
|
|
16
|
-
true: 'bg-neutral-token-3 text-neutral-token-7 border border-neutral-token-
|
|
16
|
+
true: 'bg-neutral-token-3 text-neutral-token-7 border border-neutral-token-3 pointer-events-none',
|
|
17
17
|
},
|
|
18
18
|
icon: {
|
|
19
19
|
true: 'px-0 '
|
|
@@ -28,7 +28,7 @@ export const styles = tv({
|
|
|
28
28
|
dangerous: true,
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
disabled: [false, undefined],
|
|
31
|
-
class: 'bg-error-
|
|
31
|
+
class: 'bg-error-700 text-neutral-1 border border-error-700 hover:bg-error-800 focus:ring-error-400'
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
variant: 'secondary',
|