@team-monolith/cds 1.99.6 → 1.99.7
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.
|
@@ -40,7 +40,7 @@ function LazyImage({ altText, className, imageRef, src, width, height, maxWidth:
|
|
|
40
40
|
// fixme: maxWidth를 수정할 수 있게 되면 원복합니다.
|
|
41
41
|
maxWidth: "100%",
|
|
42
42
|
width,
|
|
43
|
-
},
|
|
43
|
+
}, "aria-label": title, onClick: onClick, onError: onError, draggable: "false", role: onClick ? "button" : undefined }));
|
|
44
44
|
}
|
|
45
45
|
export function ImageComponent({ src, altText, nodeKey, width, height, maxWidth, resizable, }) {
|
|
46
46
|
const imageRef = useRef(null);
|
|
@@ -184,7 +184,7 @@ export function ImageComponent({ src, altText, nodeKey, width, height, maxWidth,
|
|
|
184
184
|
? `focused ${$isNodeSelection(selection) ? "draggable" : ""}`
|
|
185
185
|
: null, css: css `
|
|
186
186
|
cursor: pointer;
|
|
187
|
-
`, src: src, altText: altText, imageRef: imageRef, width: width, height: height, maxWidth: maxWidth, onError: () => setIsLoadError(true), onClick: () => window.open(src, "_blank"), title: "\uD074\uB9AD\uD574\uC11C \uC6D0\uBCF8 \uC774\uBBF8\uC9C0 \uBCF4\uAE30" })) })) })));
|
|
187
|
+
`, src: src, altText: altText, imageRef: imageRef, width: width, height: height, maxWidth: maxWidth, onError: () => setIsLoadError(true), onClick: () => window.open(src, "_blank"), title: "\uD074\uB9AD\uD574\uC11C \uC6D0\uBCF8 \uC774\uBBF8\uC9C0 \uBCF4\uAE30. \uC6D0\uBCF8 \uC774\uBBF8\uC9C0\uB294 \uC0C8 \uCC3D\uC5D0\uC11C \uC5F4\uB9BD\uB2C8\uB2E4." })) })) })));
|
|
188
188
|
}
|
|
189
189
|
return (_jsxs(_Fragment, { children: [_jsxs(EditContainer, { children: [_jsx(Suspense, Object.assign({ fallback: null }, { children: _jsx("div", Object.assign({ draggable: draggable, css: css `
|
|
190
190
|
// ImageResizer를 위한 relative 설정입니다.
|
|
@@ -151,7 +151,7 @@ export function FloatingLinkEditor(props) {
|
|
|
151
151
|
} }, { children: _jsx(CloseFillIcon, {}) })), _jsx(Button, Object.assign({ tabIndex: 0, onClick: (event) => {
|
|
152
152
|
event.preventDefault();
|
|
153
153
|
handleLinkSubmission();
|
|
154
|
-
} }, { children: _jsx(CheckLineIcon, {}) }))] })] })) : (_jsxs(_Fragment, { children: [_jsx(Link, Object.assign({ href: sanitizeUrl(linkUrl), target: "_blank", rel: "noopener noreferrer" }, { children: linkUrl })), _jsxs(Buttons, { children: [_jsx(Button, Object.assign({ tabIndex: 0, onClick: (event) => {
|
|
154
|
+
} }, { children: _jsx(CheckLineIcon, {}) }))] })] })) : (_jsxs(_Fragment, { children: [_jsx(Link, Object.assign({ href: sanitizeUrl(linkUrl), target: "_blank", rel: "noopener noreferrer", title: "\uC0C8 \uCC3D\uC5D0\uC11C \uC5F4\uAE30" }, { children: linkUrl })), _jsxs(Buttons, { children: [_jsx(Button, Object.assign({ tabIndex: 0, onClick: (event) => {
|
|
155
155
|
event.preventDefault();
|
|
156
156
|
setEditedLinkUrl(linkUrl);
|
|
157
157
|
setIsLinkEditMode(true);
|