@loafacto/ui 0.8.9 → 0.9.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.
- package/dist/components/LfModal.vue.d.ts +2 -10
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/loafacto-ui.css +30 -30
- package/package.json +1 -1
|
@@ -7,8 +7,8 @@ type __VLS_Props = {
|
|
|
7
7
|
/**
|
|
8
8
|
* 바깥(스크림)을 눌러 닫을 수 있게 한다. **기본은 닫지 않는다.**
|
|
9
9
|
*
|
|
10
|
-
* 예전에는 기본이 반대였다. 그러자 입력이 있는 모달마다 하나씩
|
|
11
|
-
*
|
|
10
|
+
* 예전에는 기본이 반대였다. 그러자 입력이 있는 모달마다 하나씩 옵션을 손으로
|
|
11
|
+
* 달게 됐다 — hub 에서만 로그인·비밀번호 찾기·프로필 편집·비밀번호 재설정·
|
|
12
12
|
* 소셜 연동 확인·변경 이력·공지까지 13곳이 그랬다. **매번 켜야 하는 옵션이면
|
|
13
13
|
* 그게 기본값이어야 한다.**
|
|
14
14
|
*
|
|
@@ -28,14 +28,6 @@ type __VLS_Props = {
|
|
|
28
28
|
* 동작이기도 하다. 끄는 것은 대답을 받아야만 넘어가는 모달에서만 뜻이 있다.
|
|
29
29
|
*/
|
|
30
30
|
closeOnEsc?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* 바깥 클릭과 ESC 를 **함께** 막는다.
|
|
33
|
-
*
|
|
34
|
-
* @deprecated 기본값이 뒤집히면서 스크림 쪽으로는 할 일이 없어졌다. ESC 까지
|
|
35
|
-
* 막아야 하는 자리면 `:close-on-esc="false"` 를 쓰는 편이 무엇을 끄는지 분명하다.
|
|
36
|
-
* 이미 달려 있는 곳(hub 13곳)이 조용히 뜻을 바꾸지 않도록 남겨 둔다.
|
|
37
|
-
*/
|
|
38
|
-
persistent?: boolean;
|
|
39
31
|
/** 닫기 버튼을 놓을지. */
|
|
40
32
|
closable?: boolean;
|
|
41
33
|
closeLabel?: string;
|
package/dist/index.js
CHANGED
|
@@ -1575,7 +1575,6 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1575
1575
|
fullHeight: { type: Boolean },
|
|
1576
1576
|
closeOnScrim: { type: Boolean, default: false },
|
|
1577
1577
|
closeOnEsc: { type: Boolean, default: true },
|
|
1578
|
-
persistent: { type: Boolean },
|
|
1579
1578
|
closable: { type: Boolean, default: true },
|
|
1580
1579
|
closeLabel: { default: "닫기" },
|
|
1581
1580
|
ariaLabel: {}
|
|
@@ -1602,10 +1601,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1602
1601
|
function onScrimClick() {
|
|
1603
1602
|
if (!downOnScrim) return;
|
|
1604
1603
|
downOnScrim = false;
|
|
1605
|
-
if (props.closeOnScrim
|
|
1604
|
+
if (props.closeOnScrim) close("scrim");
|
|
1606
1605
|
}
|
|
1607
1606
|
function onKeydown(e2) {
|
|
1608
|
-
if (e2.key === "Escape" && props.closeOnEsc
|
|
1607
|
+
if (e2.key === "Escape" && props.closeOnEsc) {
|
|
1609
1608
|
e2.stopPropagation();
|
|
1610
1609
|
close("esc");
|
|
1611
1610
|
return;
|
|
@@ -1712,7 +1711,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1712
1711
|
};
|
|
1713
1712
|
}
|
|
1714
1713
|
});
|
|
1715
|
-
const LfModal = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
1714
|
+
const LfModal = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-cd0b7eb4"]]);
|
|
1716
1715
|
const _hoisted_1$c = {
|
|
1717
1716
|
key: 0,
|
|
1718
1717
|
class: "lf-card__head"
|