aural-ui 2.1.19 → 2.1.20

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.
@@ -251,7 +251,9 @@ export const AllVariants: Story = {
251
251
  <Button variant="text" noise="none">
252
252
  Text
253
253
  </Button>
254
- <Button variant="chip">Chip Active Button</Button>
254
+ <Button variant="chip" noise="low">
255
+ Chip Active Button
256
+ </Button>
255
257
  <Button variant="chipActive">Chip Active Button</Button>
256
258
  </div>
257
259
  <div className="flex gap-4">
@@ -50,7 +50,7 @@ export const innerButtonVariants = cva(
50
50
  outline:
51
51
  "border-[length:var(--stroke-fm-sm)] border-fm-divider-contrast !translate-y-0",
52
52
  text: "",
53
- chip: "border border-fm-neutral-300 rounded-md group-hover:[background-image:var(--button-fm-chip-hover)] bg-cover bg-no-repeat !translate-y-0",
53
+ chip: "border border-fm-neutral-300 rounded-md relative overflow-hidden before:absolute before:inset-0 before:rounded-md before:[background-image:var(--button-fm-chip-hover)] before:bg-cover before:bg-no-repeat before:opacity-0 before:transition-opacity before:duration-300 before:-z-10 group-hover:before:opacity-100 after:absolute after:inset-0 after:rounded-md after:bg-cover after:bg-no-repeat after:transition-opacity after:duration-300 after:-z-10 group-hover:after:opacity-0 !translate-y-0",
54
54
  chipActive:
55
55
  "group-active:translate-y-0 chip-active-bg border-none rounded-md bg-contain bg-center bg-no-repeat duration-300",
56
56
  },
@@ -116,17 +116,17 @@ export const innerButtonVariants = cva(
116
116
  {
117
117
  variant: "chip",
118
118
  noise: "low",
119
- className: "[background-image:var(--button-fm-noise-low)]",
119
+ className: "after:[background-image:var(--button-fm-noise-low)]",
120
120
  },
121
121
  {
122
122
  variant: "chip",
123
123
  noise: "medium",
124
- className: "[background-image:var(--button-fm-noise)]",
124
+ className: "after:[background-image:var(--button-fm-noise)]",
125
125
  },
126
126
  {
127
127
  variant: "chip",
128
128
  noise: "strong",
129
- className: "[background-image:var(--button-fm-noise-strong)]",
129
+ className: "after:[background-image:var(--button-fm-noise-strong)]",
130
130
  },
131
131
  {
132
132
  variant: "chipActive",