@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 CHANGED
@@ -348,6 +348,15 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
348
348
  "icon-lg": "size-10"
349
349
  }
350
350
  },
351
+ // financinha: o `link` não tem espaço lateral, para alinhar com o texto ao lado. Fica num compoundVariant
352
+ // porque o padding vem do `size`, que entra depois da variante e venceria no tailwind-merge. Sem espaço,
353
+ // a borda roxa do foco encostava nas letras: no link ela fica transparente e só o anel aparece, 2 px fora.
354
+ compoundVariants: [
355
+ {
356
+ variant: "link",
357
+ class: "px-0 has-data-[icon=inline-end]:pr-0 has-data-[icon=inline-start]:pl-0 focus-visible:border-transparent"
358
+ }
359
+ ],
351
360
  defaultVariants: {
352
361
  variant: "default",
353
362
  size: "default"