@algenium/blocks 1.2.0-rc.3 → 1.2.1-rc.1
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 +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5014,7 +5014,8 @@ function NotificationsWidget({
|
|
|
5014
5014
|
showPulse = true,
|
|
5015
5015
|
soundType = "chime",
|
|
5016
5016
|
pulseStyle = "ring",
|
|
5017
|
-
soundCooldown = 2e3
|
|
5017
|
+
soundCooldown = 2e3,
|
|
5018
|
+
buttonVariant = "default"
|
|
5018
5019
|
}) {
|
|
5019
5020
|
const context = useNotificationsContext();
|
|
5020
5021
|
const notifications = propNotifications ?? context?.notifications ?? [];
|
|
@@ -5192,8 +5193,8 @@ function NotificationsWidget({
|
|
|
5192
5193
|
framerMotion.motion.button,
|
|
5193
5194
|
{
|
|
5194
5195
|
className: cn(
|
|
5195
|
-
"relative inline-flex items-center justify-center rounded-lg",
|
|
5196
|
-
"bg-muted/50 border border-border/50 hover:bg-muted/70
|
|
5196
|
+
"relative inline-flex items-center justify-center rounded-lg transition-colors",
|
|
5197
|
+
buttonVariant === "ghost" ? "hover:bg-accent hover:text-accent-foreground" : "bg-muted/50 border border-border/50 hover:bg-muted/70",
|
|
5197
5198
|
styles.button,
|
|
5198
5199
|
className
|
|
5199
5200
|
),
|