@financinha/ui 0.14.2 → 0.14.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.
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -82,6 +82,15 @@ var buttonVariants = cva(
|
|
|
82
82
|
"icon-lg": "size-10"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
+
// financinha: o `link` não tem espaço lateral, para alinhar com o texto ao lado. Fica num compoundVariant
|
|
86
|
+
// porque o padding vem do `size`, que entra depois da variante e venceria no tailwind-merge. Sem espaço,
|
|
87
|
+
// a borda roxa do foco encostava nas letras: no link ela fica transparente e só o anel aparece, 2 px fora.
|
|
88
|
+
compoundVariants: [
|
|
89
|
+
{
|
|
90
|
+
variant: "link",
|
|
91
|
+
class: "px-0 has-data-[icon=inline-end]:pr-0 has-data-[icon=inline-start]:pl-0 focus-visible:border-transparent"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
85
94
|
defaultVariants: {
|
|
86
95
|
variant: "default",
|
|
87
96
|
size: "default"
|