@iyulab/modern-app 0.22.0 → 0.22.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.22.1] - 2026-09-19
4
+
5
+ ### Fixed
6
+
7
+ - **A wide route content no longer pushes the desktop shell past the viewport.** In 0.22.0 the
8
+ scroll region's wrapper lacked a horizontal minimum-size override, so a body wider than the
9
+ available width (a data grid whose columns sum past the viewport) grew the wrapper beyond the
10
+ viewport: the right-hand columns were clipped and neither the content area nor the page scrolled
11
+ horizontally. The wide content now scrolls inside the content area again, as it did before 0.22.0.
12
+ This is the horizontal counterpart of the mobile height fix shipped in 0.22.0.
13
+
3
14
  ## [0.22.0] - 2026-09-18
4
15
 
5
16
  ### Added
@@ -186,11 +186,16 @@ var t = e`
186
186
  .main-region {
187
187
  position: relative;
188
188
  flex: 1;
189
- /* :host([state="mobile"]) 은 flex-direction: column 이라 이 축(높이)이 주축이 된다 —
190
- min-height: 0 없이는 flex item 의 자동 최소 크기가 콘텐츠 기준(.main 의 min-content
191
- 높이)으로 잡혀, flex-shrink 가 있어도 뷰포트보다 작게 줄지 못한다. 그 결과 .main 의
192
- overflow: auto 가 한 번도 발동하지 않고 셸 전체가 콘텐츠 높이만큼 부풀어 오른다. */
189
+ /* flex item 의 자동 최소 크기는 콘텐츠 기준(.main 의 min-content)이다 — 이 래퍼는
190
+ overflow 가 visible 이라 그 하한이 그대로 살아, flex-shrink 가 있어도 셸 밖으로
191
+ 커진다. 그러면 .main 의 overflow: auto 가 한 번도 발동하지 않는다. 주축이 어느 쪽이든
192
+ 같은 원인이라 두 축을 함께 푼다:
193
+ · 높이 — :host([state="mobile"]) 은 flex-direction: column 이라 min-height 가 필요하다.
194
+ 없으면 셸 전체가 콘텐츠 높이만큼 부풀어 오른다.
195
+ · 너비 — 데스크톱(row)에서는 min-width 가 필요하다. 없으면 넓은 표 하나가 셸을
196
+ 뷰포트 밖으로 밀어 오른쪽 열이 잘리고 가로 스크롤도 생기지 않는다. */
193
197
  min-height: 0;
198
+ min-width: 0;
194
199
  }
195
200
 
196
201
  .main {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iyulab/modern-app",
3
3
  "description": "web-framework by iyulab based on lit-element",
4
- "version": "0.22.0",
4
+ "version": "0.22.1",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "web-framework",