@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.js
CHANGED
|
@@ -4814,19 +4814,19 @@ var sizeConfig = {
|
|
|
4814
4814
|
button: "h-8 w-8",
|
|
4815
4815
|
icon: "w-4 h-4",
|
|
4816
4816
|
badge: "min-w-[16px] h-4 text-[10px] -top-1 -right-1",
|
|
4817
|
-
dot: "w-2.5 h-2.5
|
|
4817
|
+
dot: "w-2.5 h-2.5 top-0 right-0"
|
|
4818
4818
|
},
|
|
4819
4819
|
md: {
|
|
4820
4820
|
button: "h-9 w-9",
|
|
4821
4821
|
icon: "w-5 h-5",
|
|
4822
4822
|
badge: "min-w-[18px] h-[18px] text-[11px] -top-1 -right-1",
|
|
4823
|
-
dot: "w-3 h-3
|
|
4823
|
+
dot: "w-3 h-3 top-0 right-0"
|
|
4824
4824
|
},
|
|
4825
4825
|
lg: {
|
|
4826
4826
|
button: "h-10 w-10",
|
|
4827
4827
|
icon: "w-6 h-6",
|
|
4828
4828
|
badge: "min-w-[20px] h-5 text-xs -top-1.5 -right-1.5",
|
|
4829
|
-
dot: "w-3.5 h-3.5
|
|
4829
|
+
dot: "w-3.5 h-3.5 top-0 right-0"
|
|
4830
4830
|
}
|
|
4831
4831
|
};
|
|
4832
4832
|
var typeConfig = {
|
|
@@ -5212,7 +5212,11 @@ function NotificationsWidget({
|
|
|
5212
5212
|
initial: { scale: 0, opacity: 0 },
|
|
5213
5213
|
animate: { scale: 1, opacity: 1 },
|
|
5214
5214
|
exit: { scale: 0, opacity: 0 },
|
|
5215
|
-
className: cn(
|
|
5215
|
+
className: cn(
|
|
5216
|
+
"absolute rounded-full z-10",
|
|
5217
|
+
dotBgColor,
|
|
5218
|
+
styles.dot
|
|
5219
|
+
)
|
|
5216
5220
|
}
|
|
5217
5221
|
) }),
|
|
5218
5222
|
/* @__PURE__ */ jsx(AnimatePresence, { children: unreadCount > 0 && showPulse && pulseStyle !== "none" && /* @__PURE__ */ jsx(
|
|
@@ -5221,7 +5225,11 @@ function NotificationsWidget({
|
|
|
5221
5225
|
initial: { scale: 1, opacity: 0.5 },
|
|
5222
5226
|
animate: pulseVariants[pulseStyle].animate,
|
|
5223
5227
|
transition: pulseVariants[pulseStyle].transition,
|
|
5224
|
-
className: cn(
|
|
5228
|
+
className: cn(
|
|
5229
|
+
"absolute rounded-full z-0",
|
|
5230
|
+
dotBgColor,
|
|
5231
|
+
styles.dot
|
|
5232
|
+
)
|
|
5225
5233
|
}
|
|
5226
5234
|
) })
|
|
5227
5235
|
]
|