@team-monolith/cds 1.50.1 → 1.50.3

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.
@@ -24,7 +24,10 @@ function LazyImage({ altText, className, imageRef, src, width, height, maxWidth,
24
24
  return (_jsx("img", { className: className || undefined, src: src, alt: altText, ref: imageRef, style: {
25
25
  height,
26
26
  // 이미지로 인해 좌우로 스크롤이 생기는 것을 방지
27
- maxWidth: `min(${maxWidth}px, 100%)`,
27
+ // maxWidth: `min(${maxWidth}px, 100%)`,
28
+ // 이미지가 maxWidth보다 클 경우 이미지를 줄이지 않기 위해 100%로 변경
29
+ // fixme: maxWidth를 수정할 수 있게 되면 원복합니다.
30
+ maxWidth: "100%",
28
31
  width,
29
32
  }, draggable: "false" }));
30
33
  }
@@ -26,6 +26,7 @@ export declare function getTheme(theme: Theme, editable: boolean): {
26
26
  code: string;
27
27
  text: {
28
28
  code: string;
29
+ underline: string;
29
30
  strikethrough: string;
30
31
  };
31
32
  problemInput: string;
@@ -241,6 +241,9 @@ export function getTheme(theme, editable) {
241
241
  color: ${theme.color.foreground.neutralBase};
242
242
  /* Mono/Paragraph/14px-Rg */
243
243
  font-family: D2Coding, consolas, monospace;
244
+ `,
245
+ underline: css `
246
+ text-decoration: underline;
244
247
  `,
245
248
  strikethrough: css `
246
249
  text-decoration: line-through;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "1.50.1",
3
+ "version": "1.50.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,