@sikka/hawa 0.42.9-next → 0.42.11-next

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.
@@ -1119,11 +1119,19 @@ var SidebarItem = ({
1119
1119
  "span",
1120
1120
  {
1121
1121
  className: cn(
1122
- "hawa-transition-all",
1122
+ "hawa-transition-all hawa-flex hawa-flex-row hawa-items-center hawa-gap-2 hawa-whitespace-nowrap",
1123
1123
  isOpen ? "hawa-opacity-100" : "hawa-opacity-0"
1124
1124
  )
1125
1125
  },
1126
- item.label
1126
+ item.label,
1127
+ item.badge && /* @__PURE__ */ React11.createElement(
1128
+ Chip,
1129
+ {
1130
+ label: item.badge.label,
1131
+ color: item.badge.color,
1132
+ size: "small"
1133
+ }
1134
+ )
1127
1135
  )
1128
1136
  )
1129
1137
  ),
@@ -1160,7 +1168,15 @@ var SidebarItem = ({
1160
1168
  )
1161
1169
  },
1162
1170
  subitem.icon && subitem.icon,
1163
- subitem.label
1171
+ subitem.label,
1172
+ subitem.badge && /* @__PURE__ */ React11.createElement(
1173
+ Chip,
1174
+ {
1175
+ label: subitem.badge.label,
1176
+ color: subitem.badge.color,
1177
+ size: "small"
1178
+ }
1179
+ )
1164
1180
  ))
1165
1181
  ))
1166
1182
  );
@@ -1199,7 +1215,14 @@ var SidebarItem = ({
1199
1215
  },
1200
1216
  item.label,
1201
1217
  " ",
1202
- item.badge && /* @__PURE__ */ React11.createElement(Chip, { label: item.badge.label, color: "hyper", size: "small" })
1218
+ item.badge && /* @__PURE__ */ React11.createElement(
1219
+ Chip,
1220
+ {
1221
+ label: item.badge.label,
1222
+ color: item.badge.color,
1223
+ size: "small"
1224
+ }
1225
+ )
1203
1226
  ))
1204
1227
  );
1205
1228
  }