@iyulab/modern-app 0.15.0 → 0.16.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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.16.0] - 2026-08-11
4
+
5
+ ### Changed
6
+
7
+ - **`SidebarLayout`'s main content area now ships a default padding**
8
+ (`var(--u-space-3xl, 32px)`) instead of none. Every consumer previously had to add this
9
+ themselves to keep route content off the viewport/sidebar edge. Full-bleed layouts (e.g. a
10
+ dashboard whose table should reach the panel edge) can still opt back to `0` via
11
+ `styles.main`. This is a visible rendering change for any consumer that never set
12
+ `styles.main` — hence the minor bump rather than a patch.
13
+
3
14
  ## [0.15.0] - 2026-08-11
4
15
 
5
16
  ### Added
@@ -165,10 +165,19 @@ var t = e`
165
165
  display: none;
166
166
  }
167
167
 
168
- /* Main Content */
168
+ /* Main Content
169
+ * ★기본 패딩을 준다 — 라우트 콘텐츠가 뷰포트/사이드바 경계에 그대로 맞닿아 모든
170
+ * 소비자가 같은 배선을 재구현하던 문제였다. 값은 이 라이브러리의 spacing 스케일
171
+ * 상단 근처(3xl)에서 골랐다 — LOB 화면의 표준 여백으로 쓰기에 과하지 않은 최대값.
172
+ * ⚠«패딩 박스» 기준 절대배치는 이 padding 의 영향을 받지 않는다 — 바로 아래
173
+ * u-progress-bar 가 top/left/right:0 으로 여전히 테두리에 꽉 차게 붙는 이유다
174
+ * (CSS 2.1 §10.6.4: 절대배치 자손의 containing block 은 가장 가까운 positioned
175
+ * 조상의 «패딩 박스»이고, 그 경계는 조상 자신의 padding 값에 밀리지 않는다).
176
+ * 풀블리드를 원하는 소비자는 layout.styles.main = { padding: '0' } 로 되돌린다. */
169
177
  .main {
170
178
  position: relative;
171
179
  flex: 1;
180
+ padding: var(--u-space-3xl, 32px);
172
181
  background: var(--u-bg-color, #FFFFFF);
173
182
  overflow: auto;
174
183
  outline: none;
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.15.0",
4
+ "version": "0.16.0",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "web-framework",
@@ -44,11 +44,11 @@ configurable breakpoint means measuring the host's own width in JavaScript and r
44
44
 
45
45
  ## Properties
46
46
 
47
- | Property | Attribute | Type | Default | Description |
48
- |----------|-----------|------|---------|-------------|
49
- | `masterSize` | `master-size` | `string` (CSS length) | `'22rem'` | Fixed width of the master pane |
50
- | `overlayBreakpoint` | `overlay-breakpoint` | `number` (px) | `760` | Below this self width, detail becomes a full overlay |
51
- | `locale` | `locale` | `string` | `''` | Language tag for the close button's accessible label |
47
+ | Property | Type | Default | Reflect | Description |
48
+ |----------|------|---------|---------|-------------|
49
+ | `masterSize` | `string` | `'22rem'` | | Fixed width of the master pane, a CSS length (`master-size`) |
50
+ | `overlayBreakpoint` | `number` | `760` | | Below this self width in px, detail becomes a full overlay (`overlay-breakpoint`) |
51
+ | `locale` | `string` | `''` | | Language tag for the close button's accessible label |
52
52
 
53
53
  ## Events
54
54