@team-monolith/cds 1.117.16 → 1.117.18

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.
@@ -1,6 +1,6 @@
1
1
  type FileType = "image" | "pdf" | "file";
2
2
  interface FileSelectInputProps {
3
- /** accept와 타입 얼럿 다이얼로그에 표시될 typeStr을 지정하는 fileType */
3
+ /** accept와 타입 얼럿 다이얼로그에 표시될 errorStr을 지정하는 fileType */
4
4
  fileType: FileType;
5
5
  onChange: (value: string) => void;
6
6
  /** 선택한 파일정보를 기반으로 sumbit 동작을 하는 콜백입니다. */
@@ -210,7 +210,11 @@ export function ImageComponent({ src, altText, nodeKey, width, height, maxWidth,
210
210
  // maxWidth={maxWidth}
211
211
  onResizeStart: onResizeStart, onResizeEnd: onResizeEnd, captionsEnabled: false }))] })) }) }), _jsx(SquareButton, { size: "small", color: "icon", icon: _jsx(Settings3FillIcon, {}), onClick: () => {
212
212
  setOpen(true);
213
- }, "aria-label": t("이미지 수정하기") })] }), _jsx(InsertImageDialog, { open: open, title: t("이미지 수정하기"), onClose: () => setOpen(false), imageProps: {
213
+ }, "aria-label": t("이미지 수정하기", {
214
+ context: "스퀘어버튼, 렉시컬 이미지 도구",
215
+ }) })] }), _jsx(InsertImageDialog, { open: open, title: t("이미지 수정하기", {
216
+ context: "제목, 이미지 수정 다이얼로그",
217
+ }), onClose: () => setOpen(false), imageProps: {
214
218
  src,
215
219
  altText,
216
220
  }, onChange: (props) => {
@@ -21,6 +21,8 @@ export function FormSolution(props) {
21
21
  `, startIcon: _jsx(TextTypeDropdown, { index: index, control: control, disabled: disabled }), endIcon: _jsxs("div", { css: css `
22
22
  display: flex;
23
23
  gap: 4px;
24
- `, children: [onDelete && (_jsx(SquareButton, { color: "white", size: "xsmall", icon: _jsx(DeleteBinLineIcon, {}), onClick: onDelete, "aria-label": t("삭제", { context: "스퀘어버튼, 렉시컬 주관식 설정창" }) })), disabled && (_jsx(Tooltip, { text: _jsx(Trans, { i18nKey: "\uC785\uB825 \uCE78 \uC124\uC815\uC774 '\uAE00\uC790 \uC218\uB300\uB85C'\uC778 \uACBD\uC6B0<br/>\uC815\uB2F5\uC744 \uD558\uB098\uB9CC \uB4F1\uB85D\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4." }), children: _jsx(SquareButton, { color: "danger", size: "xsmall", icon: _jsx(AlertFillIcon, { color: theme.color.foreground.neutralAlt }), disabled: true, "aria-label": t("정답 등록 불가") }) }))] }) }));
24
+ `, children: [onDelete && (_jsx(SquareButton, { color: "white", size: "xsmall", icon: _jsx(DeleteBinLineIcon, {}), onClick: onDelete, "aria-label": t("삭제", {
25
+ context: "스퀘어버튼, 렉시컬 주관식 설정창",
26
+ }) })), disabled && (_jsx(Tooltip, { text: _jsx("span", { children: _jsx(Trans, { i18nKey: "\uC785\uB825 \uCE78 \uC124\uC815\uC774 '\uAE00\uC790 \uC218\uB300\uB85C'\uC778 \uACBD\uC6B0<br/>\uC815\uB2F5\uC744 \uD558\uB098\uB9CC \uB4F1\uB85D\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4." }) }), children: _jsx(SquareButton, { color: "danger", size: "xsmall", icon: _jsx(AlertFillIcon, { color: theme.color.foreground.neutralAlt }), disabled: true, "aria-label": t("정답 등록 불가") }) }))] }) }));
25
27
  } }));
26
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "1.117.16",
3
+ "version": "1.117.18",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,