@keboola/design 3.2.0 → 4.0.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.
@@ -4512,10 +4512,10 @@ var MarkdownEditor = ({
4512
4512
  // adjacent-sibling selector for paragraph spacing so single-paragraph blocks (titles,
4513
4513
  // short descriptions) stay tight while multi-paragraph blocks still breathe.
4514
4514
  compact && "[&_p]:tw-m-0 [&_p+p]:tw-mt-2",
4515
- // Display-state clamp: 2 lines + bottom fade. Drops in focus-within so editing
4516
- // expands to full height. Fade replaces ellipsis per the pattern spec — the
4517
- // mask gradient overlays line-clamp's default ellipsis so it's invisible.
4518
- clampDisplay && "[&:not(:focus-within)]:tw-line-clamp-2 [&:not(:focus-within)]:[mask-image:linear-gradient(to_bottom,black_50%,transparent)]",
4515
+ // Display-state clamp: 2 lines, dropped in focus-within so editing expands to full
4516
+ // height. line-clamp is self-gating (no effect below 3 lines), so short/empty content
4517
+ // renders clean; a CSS fade can't gate on overflow without JS, so it's omitted.
4518
+ clampDisplay && "[&:not(:focus-within)]:tw-line-clamp-2",
4519
4519
  className
4520
4520
  ),
4521
4521
  onBlur: handleBlur,