@nine-lab/nine-ux 0.1.83 → 0.1.85
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/dist/nine-ux.umd.js +9 -4
- package/package.json +1 -1
package/dist/nine-ux.umd.js
CHANGED
|
@@ -638,7 +638,7 @@ dialog.out { animation: nx-fade-out 0.3s forwards; }
|
|
|
638
638
|
// 1. 값만 깔끔하게 반환
|
|
639
639
|
get cssPath() {
|
|
640
640
|
var _a;
|
|
641
|
-
return ((_a = nine.
|
|
641
|
+
return ((_a = nine.config.ux) == null ? void 0 : _a.cssPath) || __privateGet(this, _localCssPath);
|
|
642
642
|
}
|
|
643
643
|
set cssPath(path) {
|
|
644
644
|
__privateSet(this, _localCssPath, path);
|
|
@@ -19372,7 +19372,7 @@ img.ProseMirror-separator {
|
|
|
19372
19372
|
const customImport = customPath ? `@import "${customPath}";` : "";
|
|
19373
19373
|
this.shadowRoot.innerHTML = `
|
|
19374
19374
|
<style>
|
|
19375
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-ux@${"0.1.
|
|
19375
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-ux@${"0.1.85"}/dist/css/nineEditor.css";
|
|
19376
19376
|
${customImport}
|
|
19377
19377
|
</style>
|
|
19378
19378
|
|
|
@@ -19527,8 +19527,13 @@ img.ProseMirror-separator {
|
|
|
19527
19527
|
});
|
|
19528
19528
|
};
|
|
19529
19529
|
init();
|
|
19530
|
-
nine.nine
|
|
19531
|
-
|
|
19530
|
+
const targetNine = typeof window !== "undefined" ? window.nine || nine.nine : nine.nine;
|
|
19531
|
+
if (targetNine) {
|
|
19532
|
+
targetNine.alert = nineUx.alert.bind(nineUx);
|
|
19533
|
+
targetNine.confirm = nineUx.confirm.bind(nineUx);
|
|
19534
|
+
} else {
|
|
19535
|
+
console.error("[nine-ux] critical error: window.nine을 찾을 수 없습니다.");
|
|
19536
|
+
}
|
|
19532
19537
|
if (typeof window !== "undefined") {
|
|
19533
19538
|
if (!customElements.get("nine-editor")) {
|
|
19534
19539
|
customElements.define("nine-editor", nineEditor);
|