version-pill-react 1.5.0 → 1.5.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 +25 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1175,7 +1175,18 @@ function VersionPill({
|
|
|
1175
1175
|
),
|
|
1176
1176
|
/* @__PURE__ */ jsxs("div", { style: { flex: 1, minWidth: 0 }, children: [
|
|
1177
1177
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: 8, marginBottom: 4, flexWrap: "wrap" }, children: [
|
|
1178
|
-
/* @__PURE__ */ jsx(
|
|
1178
|
+
/* @__PURE__ */ jsx(
|
|
1179
|
+
"a",
|
|
1180
|
+
{
|
|
1181
|
+
href: `${baseUrl}/${projectId}/feature-requests`,
|
|
1182
|
+
target: "_blank",
|
|
1183
|
+
rel: "noopener noreferrer",
|
|
1184
|
+
style: { fontSize: 15, fontWeight: 500, color: isLight ? "#18181b" : "#fff", textDecoration: "none" },
|
|
1185
|
+
onMouseEnter: (e) => e.currentTarget.style.textDecoration = "underline",
|
|
1186
|
+
onMouseLeave: (e) => e.currentTarget.style.textDecoration = "none",
|
|
1187
|
+
children: idea.title
|
|
1188
|
+
}
|
|
1189
|
+
),
|
|
1179
1190
|
idea.status && /* @__PURE__ */ jsx("span", { style: {
|
|
1180
1191
|
padding: "2px 8px",
|
|
1181
1192
|
fontSize: 10,
|
|
@@ -1187,7 +1198,19 @@ function VersionPill({
|
|
|
1187
1198
|
letterSpacing: "0.3px"
|
|
1188
1199
|
}, children: cfg.label })
|
|
1189
1200
|
] }),
|
|
1190
|
-
idea.description && /* @__PURE__ */ jsx("div", { style: { fontSize: 14, color: isLight ? "#71717a" : "#a1a1aa", lineHeight: 1.5 }, children: idea.description })
|
|
1201
|
+
idea.description && /* @__PURE__ */ jsx("div", { style: { fontSize: 14, color: isLight ? "#71717a" : "#a1a1aa", lineHeight: 1.5 }, children: idea.description }),
|
|
1202
|
+
/* @__PURE__ */ jsx(
|
|
1203
|
+
"a",
|
|
1204
|
+
{
|
|
1205
|
+
href: `${baseUrl}/${projectId}/feature-requests`,
|
|
1206
|
+
target: "_blank",
|
|
1207
|
+
rel: "noopener noreferrer",
|
|
1208
|
+
style: { fontSize: 12, color: isLight ? "#71717a" : "#a1a1aa", textDecoration: "none", marginTop: 6, display: "inline-flex", alignItems: "center", gap: 4 },
|
|
1209
|
+
onMouseEnter: (e) => e.currentTarget.style.color = "#22c55e",
|
|
1210
|
+
onMouseLeave: (e) => e.currentTarget.style.color = isLight ? "#71717a" : "#a1a1aa",
|
|
1211
|
+
children: "Join discussion \u2192"
|
|
1212
|
+
}
|
|
1213
|
+
)
|
|
1191
1214
|
] })
|
|
1192
1215
|
]
|
|
1193
1216
|
},
|