@homebound/beam 3.104.0 → 3.105.0
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.cjs +15 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -25185,6 +25185,7 @@ function Tag(props) {
|
|
|
25185
25185
|
...otherProps
|
|
25186
25186
|
} = props;
|
|
25187
25187
|
const isIconOnly = !!iconOnly && !!icon;
|
|
25188
|
+
const isStrikethrough = type === "strikethrough";
|
|
25188
25189
|
const {
|
|
25189
25190
|
background,
|
|
25190
25191
|
iconColor,
|
|
@@ -25222,10 +25223,23 @@ function Tag(props) {
|
|
|
25222
25223
|
paddingRight: "pr_2px"
|
|
25223
25224
|
} : padding,
|
|
25224
25225
|
...background,
|
|
25226
|
+
...isStrikethrough ? {
|
|
25227
|
+
opacity: "o50"
|
|
25228
|
+
} : {},
|
|
25225
25229
|
...xss
|
|
25226
25230
|
}), children: [
|
|
25227
25231
|
icon && /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("span", { className: "fs0", children: /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(Icon, { icon, inc: 1.75, color: iconColor }) }),
|
|
25228
|
-
isIconOnly ? /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("span", { className: "absolute oh cli_inset_50 clp_none bd_0 h_1px m_neg1px w_1px p_0 wsnw o0", children: text }) : /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("span", { ref,
|
|
25232
|
+
isIconOnly ? /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("span", { className: "absolute oh cli_inset_50 clp_none bd_0 h_1px m_neg1px w_1px p_0 wsnw o0", children: text }) : /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("span", { ref, ...(0, import_runtime120.trussProps)({
|
|
25233
|
+
overflow: "oh",
|
|
25234
|
+
display: "d_negwebkit_box",
|
|
25235
|
+
WebkitBoxOrient: "wbo_vertical",
|
|
25236
|
+
textOverflow: "to_ellipsis",
|
|
25237
|
+
WebkitLineClamp: "wlc_1",
|
|
25238
|
+
wordBreak: "wbba",
|
|
25239
|
+
...isStrikethrough ? {
|
|
25240
|
+
textDecoration: "tdlt"
|
|
25241
|
+
} : {}
|
|
25242
|
+
}), children: text })
|
|
25229
25243
|
] })
|
|
25230
25244
|
});
|
|
25231
25245
|
}
|