@janovix/blocks 1.2.0-rc.10 → 1.2.0-rc.11
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 +13 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4842,19 +4842,19 @@ var sizeConfig = {
|
|
|
4842
4842
|
button: "h-8 w-8",
|
|
4843
4843
|
icon: "w-4 h-4",
|
|
4844
4844
|
badge: "min-w-[16px] h-4 text-[10px] -top-1 -right-1",
|
|
4845
|
-
dot: "w-2.5 h-2.5
|
|
4845
|
+
dot: "w-2.5 h-2.5 top-0 right-0"
|
|
4846
4846
|
},
|
|
4847
4847
|
md: {
|
|
4848
4848
|
button: "h-9 w-9",
|
|
4849
4849
|
icon: "w-5 h-5",
|
|
4850
4850
|
badge: "min-w-[18px] h-[18px] text-[11px] -top-1 -right-1",
|
|
4851
|
-
dot: "w-3 h-3
|
|
4851
|
+
dot: "w-3 h-3 top-0 right-0"
|
|
4852
4852
|
},
|
|
4853
4853
|
lg: {
|
|
4854
4854
|
button: "h-10 w-10",
|
|
4855
4855
|
icon: "w-6 h-6",
|
|
4856
4856
|
badge: "min-w-[20px] h-5 text-xs -top-1.5 -right-1.5",
|
|
4857
|
-
dot: "w-3.5 h-3.5
|
|
4857
|
+
dot: "w-3.5 h-3.5 top-0 right-0"
|
|
4858
4858
|
}
|
|
4859
4859
|
};
|
|
4860
4860
|
var typeConfig = {
|
|
@@ -5240,7 +5240,11 @@ function NotificationsWidget({
|
|
|
5240
5240
|
initial: { scale: 0, opacity: 0 },
|
|
5241
5241
|
animate: { scale: 1, opacity: 1 },
|
|
5242
5242
|
exit: { scale: 0, opacity: 0 },
|
|
5243
|
-
className: cn(
|
|
5243
|
+
className: cn(
|
|
5244
|
+
"absolute rounded-full z-10",
|
|
5245
|
+
dotBgColor,
|
|
5246
|
+
styles.dot
|
|
5247
|
+
)
|
|
5244
5248
|
}
|
|
5245
5249
|
) }),
|
|
5246
5250
|
/* @__PURE__ */ jsxRuntime.jsx(react.AnimatePresence, { children: unreadCount > 0 && showPulse && pulseStyle !== "none" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5249,7 +5253,11 @@ function NotificationsWidget({
|
|
|
5249
5253
|
initial: { scale: 1, opacity: 0.5 },
|
|
5250
5254
|
animate: pulseVariants[pulseStyle].animate,
|
|
5251
5255
|
transition: pulseVariants[pulseStyle].transition,
|
|
5252
|
-
className: cn(
|
|
5256
|
+
className: cn(
|
|
5257
|
+
"absolute rounded-full z-0",
|
|
5258
|
+
dotBgColor,
|
|
5259
|
+
styles.dot
|
|
5260
|
+
)
|
|
5253
5261
|
}
|
|
5254
5262
|
) })
|
|
5255
5263
|
]
|