@cntyclub/ui-react 0.3.0 → 0.3.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.js CHANGED
@@ -8611,6 +8611,7 @@ var countSize = {
8611
8611
  md: "h-[18px] min-w-[18px] text-xs",
8612
8612
  lg: "h-5 min-w-5 text-sm"
8613
8613
  };
8614
+ var labelGap = { sm: "gap-1", md: "gap-1.5", lg: "gap-2" };
8614
8615
  function Tag({
8615
8616
  value = "",
8616
8617
  size: sizeProp,
@@ -8662,7 +8663,17 @@ function Tag({
8662
8663
  strokeWidth: 2.5
8663
8664
  }
8664
8665
  ),
8665
- /* @__PURE__ */ jsx("span", { children }),
8666
+ /* @__PURE__ */ jsx(
8667
+ "span",
8668
+ {
8669
+ className: cn(
8670
+ "inline-flex min-w-0 items-center [&_svg]:shrink-0",
8671
+ labelGap[size]
8672
+ ),
8673
+ "data-slot": "tag-label",
8674
+ children
8675
+ }
8676
+ ),
8666
8677
  count !== void 0 && /* @__PURE__ */ jsx(
8667
8678
  "span",
8668
8679
  {