@@ -8,36 +8,36 @@ export const checkboxVariants = tv({
88 root : 'inline-flex items-center' ,
99 control : [
1010 'peer shrink-0 border shadow' ,
11- 'focus-visible:( outline-none ring-2 ring-offset-2 ring-offset-background) disabled:( cursor-not-allowed opacity-50) '
11+ 'focus-visible:outline-none focus-visible: ring-2 focus-visible: ring-offset-2 focus-visible: ring-offset-background disabled:cursor-not-allowed disabled: opacity-50'
1212 ] ,
1313 indicator : 'size-full flex items-center justify-center text-current' ,
1414 label : ''
1515 } ,
1616 variants : {
1717 color : {
1818 primary : {
19- control : `border-primary focus-visible:ring-primary data-[state=checked]:( bg-primary text-primary-foreground) data-[state=indeterminate]:( bg-primary text-primary-foreground) `
19+ control : `border-primary focus-visible:ring-primary data-[state=checked]:bg-primary data-[state=checked]: text-primary-foreground data-[state=indeterminate]:bg-primary data-[state=indeterminate]: text-primary-foreground`
2020 } ,
2121 destructive : {
22- control : `border-destructive focus-visible:ring-destructive data-[state=checked]:( bg-destructive text-destructive-foreground) data-[state=indeterminate]:( bg-destructive text-destructive-foreground) `
22+ control : `border-destructive focus-visible:ring-destructive data-[state=checked]:bg-destructive data-[state=checked]: text-destructive-foreground data-[state=indeterminate]:bg-destructive data-[state=indeterminate]: text-destructive-foreground`
2323 } ,
2424 success : {
25- control : `border-success focus-visible:ring-success data-[state=checked]:( bg-success text-success-foreground) data-[state=indeterminate]:( bg-success text-success-foreground) `
25+ control : `border-success focus-visible:ring-success data-[state=checked]:bg-success data-[state=checked]: text-success-foreground data-[state=indeterminate]:bg-success data-[state=indeterminate]: text-success-foreground`
2626 } ,
2727 warning : {
28- control : `border-warning focus-visible:ring-warning data-[state=checked]:( bg-warning text-warning-foreground) data-[state=indeterminate]:( bg-warning text-warning-foreground) `
28+ control : `border-warning focus-visible:ring-warning data-[state=checked]:bg-warning data-[state=checked]: text-warning-foreground data-[state=indeterminate]:bg-warning data-[state=indeterminate]: text-warning-foreground`
2929 } ,
3030 info : {
31- control : `border-info focus-visible:ring-info data-[state=checked]:( bg-info text-info-foreground) data-[state=indeterminate]:( bg-info text-info-foreground) `
31+ control : `border-info focus-visible:ring-info data-[state=checked]:bg-info data-[state=checked]: text-info-foreground data-[state=indeterminate]:bg-info data-[state=indeterminate]: text-info-foreground`
3232 } ,
3333 carbon : {
34- control : `border-carbon focus-visible:ring-carbon data-[state=checked]:( bg-carbon text-carbon-foreground) data-[state=indeterminate]:( bg-carbon text-carbon-foreground) `
34+ control : `border-carbon focus-visible:ring-carbon data-[state=checked]:bg-carbon data-[state=checked]: text-carbon-foreground data-[state=indeterminate]:bg-carbon data-[state=indeterminate]: text-carbon-foreground`
3535 } ,
3636 secondary : {
37- control : `border-secondary-foreground/50 focus-visible:ring-secondary-foreground/20 data-[state=checked]:( bg-secondary-foreground/5 text-secondary-foreground) data-[state=indeterminate]:( bg-secondary-foreground/5 text-secondary-foreground) `
37+ control : `border-secondary-foreground/50 focus-visible:ring-secondary-foreground/20 data-[state=checked]:bg-secondary-foreground/5 data-[state=checked]: text-secondary-foreground data-[state=indeterminate]:bg-secondary-foreground/5 data-[state=indeterminate]: text-secondary-foreground`
3838 } ,
3939 accent : {
40- control : `border-accent-foreground/50 focus-visible:ring-accent-foreground/20 data-[state=checked]:( bg-accent-foreground/5 text-accent-foreground) data-[state=indeterminate]:( bg-accent-foreground/5 text-accent-foreground) `
40+ control : `border-accent-foreground/50 focus-visible:ring-accent-foreground/20 data-[state=checked]:bg-accent-foreground/5 data-[state=checked]: text-accent-foreground data-[state=indeterminate]:bg-accent-foreground/5 data-[state=indeterminate]: text-accent-foreground`
4141 }
4242 } ,
4343 size : {
@@ -108,7 +108,7 @@ export const checkboxCardVariants = tv({
108108 description : 'text-muted-foreground' ,
109109 control : [
110110 'peer shrink-0 border shadow' ,
111- 'focus-visible:( outline-none ring-2 ring-offset-2 ring-offset-background) disabled:( cursor-not-allowed opacity-50) ' ,
111+ 'focus-visible:outline-none focus-visible: ring-2 focus-visible: ring-offset-2 focus-visible: ring-offset-background disabled:cursor-not-allowed disabled: opacity-50' ,
112112 'order-1 after:absolute after:inset-0 after:content-empty'
113113 ] ,
114114 indicator : 'size-full flex items-center justify-center text-current'
@@ -117,35 +117,35 @@ export const checkboxCardVariants = tv({
117117 color : {
118118 primary : {
119119 root : 'data-[state=checked]:border-primary' ,
120- control : `border-primary focus-visible:ring-primary data-[state=checked]:( bg-primary text-primary-foreground) data-[state=indeterminate]:( bg-primary text-primary-foreground) `
120+ control : `border-primary focus-visible:ring-primary data-[state=checked]:bg-primary data-[state=checked]: text-primary-foreground data-[state=indeterminate]:bg-primary data-[state=indeterminate]: text-primary-foreground`
121121 } ,
122122 destructive : {
123123 root : 'data-[state=checked]:border-destructive' ,
124- control : `border-destructive focus-visible:ring-destructive data-[state=checked]:( bg-destructive text-destructive-foreground) data-[state=indeterminate]:( bg-destructive text-destructive-foreground) `
124+ control : `border-destructive focus-visible:ring-destructive data-[state=checked]:bg-destructive data-[state=checked]: text-destructive-foreground data-[state=indeterminate]:bg-destructive data-[state=indeterminate]: text-destructive-foreground`
125125 } ,
126126 success : {
127127 root : 'data-[state=checked]:border-success' ,
128- control : `border-success focus-visible:ring-success data-[state=checked]:( bg-success text-success-foreground) data-[state=indeterminate]:( bg-success text-success-foreground) `
128+ control : `border-success focus-visible:ring-success data-[state=checked]:bg-success data-[state=checked]: text-success-foreground data-[state=indeterminate]:bg-success data-[state=indeterminate]: text-success-foreground`
129129 } ,
130130 warning : {
131131 root : 'data-[state=checked]:border-warning' ,
132- control : `border-warning focus-visible:ring-warning data-[state=checked]:( bg-warning text-warning-foreground) data-[state=indeterminate]:( bg-warning text-warning-foreground) `
132+ control : `border-warning focus-visible:ring-warning data-[state=checked]:bg-warning data-[state=checked]: text-warning-foreground data-[state=indeterminate]:bg-warning data-[state=indeterminate]: text-warning-foreground`
133133 } ,
134134 info : {
135135 root : 'data-[state=checked]:border-info' ,
136- control : `border-info focus-visible:ring-info data-[state=checked]:( bg-info text-info-foreground) data-[state=indeterminate]:( bg-info text-info-foreground) `
136+ control : `border-info focus-visible:ring-info data-[state=checked]:bg-info data-[state=checked]: text-info-foreground data-[state=indeterminate]:bg-info data-[state=indeterminate]: text-info-foreground`
137137 } ,
138138 carbon : {
139139 root : 'data-[state=checked]:border-carbon' ,
140- control : `border-carbon focus-visible:ring-carbon data-[state=checked]:( bg-carbon text-carbon-foreground) data-[state=indeterminate]:( bg-carbon text-carbon-foreground) `
140+ control : `border-carbon focus-visible:ring-carbon data-[state=checked]:bg-carbon data-[state=checked]: text-carbon-foreground data-[state=indeterminate]:bg-carbon data-[state=indeterminate]: text-carbon-foreground`
141141 } ,
142142 secondary : {
143143 root : 'data-[state=checked]:border-secondary-foreground/50' ,
144- control : `border-secondary-foreground/50 focus-visible:ring-secondary-foreground/20 data-[state=checked]:( bg-secondary-foreground/5 text-secondary-foreground) data-[state=indeterminate]:( bg-secondary-foreground/5 text-secondary-foreground) `
144+ control : `border-secondary-foreground/50 focus-visible:ring-secondary-foreground/20 data-[state=checked]:bg-secondary-foreground/5 data-[state=checked]: text-secondary-foreground data-[state=indeterminate]:bg-secondary-foreground/5 data-[state=indeterminate]: text-secondary-foreground`
145145 } ,
146146 accent : {
147147 root : 'data-[state=checked]:border-accent-foreground/50' ,
148- control : `border-accent-foreground/50 focus-visible:ring-accent-foreground/20 data-[state=checked]:( bg-accent-foreground/5 text-accent-foreground) data-[state=indeterminate]:( bg-accent-foreground/5 text-accent-foreground) `
148+ control : `border-accent-foreground/50 focus-visible:ring-accent-foreground/20 data-[state=checked]:bg-accent-foreground/5 data-[state=checked]: text-accent-foreground data-[state=indeterminate]:bg-accent-foreground/5 data-[state=indeterminate]: text-accent-foreground`
149149 }
150150 } ,
151151 size : {
0 commit comments