AGENT SKILL
12-ui-popup-stack
暂无简介
适用职业设计师
- License 许可
- MIT
- 最近更新
- 2026-04-12
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
12-ui-popup-stack — Stack Rules
Status: ACTIVE AppliesTo: v1
Purpose
popup stack의 push / pop / duplicate / top-state 규칙을 정리한다.
Core Rules
- stack top만 입력 가능하다
- non-top popup은 stack에 남아 있지만 input inactive다
- top popup이
Show상태일 때만 input을 받는다 Showing/Closingtop popup 동안은 다른 popup input을 열지 않는다
Duplicate Policy
Allow
- 항상 새 popup을 push
IgnoreIfShow
- 같은 frame type이 열려 있으면 새 요청 무시
FocusIfShow
- 기존 entry를 stack에서 제거한 뒤 다시 top으로 push
- show transition은 다시 재생하지 않음
- sibling order / top-only input / dim 상태를 전부 다시 계산
ReplaceIfShow
- 기존 popup을
Replacedreason으로 close 시작 - 새 popup은 별도로 show
Matching Rule
- duplicate matching 기준은 popup frame
Type이다 - 정책 source는 새 요청이 아니라 이미 열린 frame instance의 override 값이다
Close Rules
CloseTop
- top entry만 close
CloseAll
- top부터 역순 정리
ForceClosedreason 사용- transition skip
CloseById
- v1 비지원