@mondrianai/runyourai-design-system 0.0.27 → 0.0.28
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1054,7 +1054,7 @@ function AvatarGroup({ avatars, size = "md", className }) {
|
|
|
1054
1054
|
|
|
1055
1055
|
// src/components/ui/badge.tsx
|
|
1056
1056
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
1057
|
-
var TEXT_BADGE_BASE = "inline-flex w-fit shrink-0 items-center justify-center gap-1 rounded-full px-2.5 py-1 text-sm font-medium leading-5 tracking-tight whitespace-nowrap";
|
|
1057
|
+
var TEXT_BADGE_BASE = "inline-flex h-7 w-fit shrink-0 items-center justify-center gap-1 rounded-full px-2.5 py-1 text-sm font-medium leading-5 tracking-tight whitespace-nowrap";
|
|
1058
1058
|
var BADGE_ICON_BASE = "size-4";
|
|
1059
1059
|
var BADGE_VARIANT_STYLES = {
|
|
1060
1060
|
default: "bg-primary text-primary-foreground",
|
|
@@ -4742,7 +4742,8 @@ function NumberBadge({
|
|
|
4742
4742
|
className: cn(
|
|
4743
4743
|
NUMBER_BADGE_BASE,
|
|
4744
4744
|
sizeClass,
|
|
4745
|
-
|
|
4745
|
+
// Figma(665:2024): outline_number 만 tracking-normal, 나머지는 tracking-tight
|
|
4746
|
+
variant === "outline" ? "tracking-normal" : "tracking-tight",
|
|
4746
4747
|
BADGE_VARIANT_STYLES[variant],
|
|
4747
4748
|
className
|
|
4748
4749
|
),
|