@discuss-ds/ui 0.8.0 → 0.8.2
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/CHANGELOG.md +12 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3090,14 +3090,14 @@ var StimulusCard = React47.forwardRef(
|
|
|
3090
3090
|
children: showImage ? /* @__PURE__ */ jsx48("img", { src: thumbnail, alt: thumbnailAlt, className: "size-full object-cover", onError: () => setFailedSrc(thumbnail) }) : error ? /* @__PURE__ */ jsx48(ImageBroken, { size: 24, "aria-hidden": true }) : icon ?? /* @__PURE__ */ jsx48(ImageIcon2, { size: 24, "aria-hidden": true })
|
|
3091
3091
|
}
|
|
3092
3092
|
),
|
|
3093
|
-
/* @__PURE__ */ jsxs34("div", { className: "flex min-w-0 flex-1 flex-col
|
|
3093
|
+
/* @__PURE__ */ jsxs34("div", { className: "flex min-w-0 flex-1 flex-col gap-2 text-surface-foreground", children: [
|
|
3094
3094
|
/* @__PURE__ */ jsx48("p", { className: "w-full text-ui-label", children: label }),
|
|
3095
3095
|
onCaptionChange ? /* @__PURE__ */ jsx48(
|
|
3096
3096
|
InlineEdit,
|
|
3097
3097
|
{
|
|
3098
3098
|
variant: "question",
|
|
3099
3099
|
multiline: true,
|
|
3100
|
-
className: "-mx-3 w-auto",
|
|
3100
|
+
className: "-mx-3 -mt-1 -mb-1.5 w-auto",
|
|
3101
3101
|
"aria-label": "Stimulus caption",
|
|
3102
3102
|
value: caption ?? "",
|
|
3103
3103
|
placeholder: captionPlaceholder,
|