@vmscloud/moz-ui-components-core 0.1.57 → 0.1.59
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/context-menu/contextmenu.core.d.ts +3 -0
- package/dist/components/toggle/toggle.core.d.ts +2 -0
- package/dist/index.cjs +612 -604
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1535 -1479
- package/dist/index.js.map +1 -1
- package/dist/runtime/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
* - 코너 감지(isRightCorner/isBottomCorner/isSubRightCorner)로 방향 클래스. transition(fade) 상태머신.
|
|
9
9
|
* - item: text+화살표 / template(슬롯 커스텀) / separator / disabled(bool|fn) / hidden / hover / function.
|
|
10
10
|
* - beforeClose 는 truthy 체크만(항상 truthy fn) → 실제 호출 안 되는 기벽 보존.
|
|
11
|
+
* - fixPosition(left/top 지정) + useTeleport !== true 면 메뉴 본체를 트리거 자리(in-place)에 그린다
|
|
12
|
+
* (원본 `<Teleport :disabled>` 1:1). backdrop 은 항상 body 포털. 좌표는 offsetLeft/Top 기준.
|
|
13
|
+
* - item.template 슬롯 scope 는 원본처럼 `{ props: { ...item, close } }` 다.
|
|
11
14
|
* - 위치/코너/트랜지션 픽셀은 jsdom 에서 검증 불가(레이아웃 없음) — 로직만 1:1.
|
|
12
15
|
*/
|
|
13
16
|
export interface IContextMenu {
|
|
@@ -37,6 +37,8 @@ export interface ToggleTemplateOptions {
|
|
|
37
37
|
onClick?: (e: Event) => void;
|
|
38
38
|
/** 소비자 class 패스스루 (Vue $attrs / React className) */
|
|
39
39
|
class?: unknown;
|
|
40
|
+
/** 소비자 style 패스스루 — 원본 Toggle.vue 처럼 루트 div 에 붙는다 */
|
|
41
|
+
style?: unknown;
|
|
40
42
|
/** 스펙 밖 임의 attribute/listener 패스스루 (data-* 등) — 루트 div 에 붙는다 */
|
|
41
43
|
rest?: Record<string, unknown>;
|
|
42
44
|
/**
|