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.js
CHANGED
|
@@ -1213,7 +1213,18 @@ function VersionPill({
|
|
|
1213
1213
|
),
|
|
1214
1214
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: { flex: 1, minWidth: 0 }, children: [
|
|
1215
1215
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: { display: "flex", alignItems: "center", gap: 8, marginBottom: 4, flexWrap: "wrap" }, children: [
|
|
1216
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1216
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1217
|
+
"a",
|
|
1218
|
+
{
|
|
1219
|
+
href: `${baseUrl}/${projectId}/feature-requests`,
|
|
1220
|
+
target: "_blank",
|
|
1221
|
+
rel: "noopener noreferrer",
|
|
1222
|
+
style: { fontSize: 15, fontWeight: 500, color: isLight ? "#18181b" : "#fff", textDecoration: "none" },
|
|
1223
|
+
onMouseEnter: (e) => e.currentTarget.style.textDecoration = "underline",
|
|
1224
|
+
onMouseLeave: (e) => e.currentTarget.style.textDecoration = "none",
|
|
1225
|
+
children: idea.title
|
|
1226
|
+
}
|
|
1227
|
+
),
|
|
1217
1228
|
idea.status && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { style: {
|
|
1218
1229
|
padding: "2px 8px",
|
|
1219
1230
|
fontSize: 10,
|
|
@@ -1225,7 +1236,19 @@ function VersionPill({
|
|
|
1225
1236
|
letterSpacing: "0.3px"
|
|
1226
1237
|
}, children: cfg.label })
|
|
1227
1238
|
] }),
|
|
1228
|
-
idea.description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: { fontSize: 14, color: isLight ? "#71717a" : "#a1a1aa", lineHeight: 1.5 }, children: idea.description })
|
|
1239
|
+
idea.description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: { fontSize: 14, color: isLight ? "#71717a" : "#a1a1aa", lineHeight: 1.5 }, children: idea.description }),
|
|
1240
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1241
|
+
"a",
|
|
1242
|
+
{
|
|
1243
|
+
href: `${baseUrl}/${projectId}/feature-requests`,
|
|
1244
|
+
target: "_blank",
|
|
1245
|
+
rel: "noopener noreferrer",
|
|
1246
|
+
style: { fontSize: 12, color: isLight ? "#71717a" : "#a1a1aa", textDecoration: "none", marginTop: 6, display: "inline-flex", alignItems: "center", gap: 4 },
|
|
1247
|
+
onMouseEnter: (e) => e.currentTarget.style.color = "#22c55e",
|
|
1248
|
+
onMouseLeave: (e) => e.currentTarget.style.color = isLight ? "#71717a" : "#a1a1aa",
|
|
1249
|
+
children: "Join discussion \u2192"
|
|
1250
|
+
}
|
|
1251
|
+
)
|
|
1229
1252
|
] })
|
|
1230
1253
|
]
|
|
1231
1254
|
},
|