@iyulab/modern-app 0.18.7 → 0.18.8

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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.18.8] - 2026-08-30
4
+
5
+ ### Fixed
6
+
7
+ - **`SidebarLayout` ignored an explicit `collapsed: false` on a group config** — a
8
+ group always rendered collapsed regardless of the configured initial state.
9
+ `SidebarGroup.collapsed` defaults to `true`, and the binding used a
10
+ boolean-attribute directive, which only ever adds the attribute — it never
11
+ removes an already-absent one to force `false`, so the default silently won.
12
+ Switched to a direct property binding, which sets the value regardless of the
13
+ component's own default.
14
+
3
15
  ## [0.18.7] - 2026-08-27
4
16
 
5
17
  ### Fixed
@@ -201,7 +201,7 @@ var v = class extends i {
201
201
  <u-sidebar-group
202
202
  ?compact=${this.state === "slim"}
203
203
  ?selected=${t}
204
- ?collapsed="${e.collapsed ?? !1}"
204
+ .collapsed=${e.collapsed ?? !0}
205
205
  .icon="${e.icon}"
206
206
  .lib="${e.lib}"
207
207
  .label="${e.label}"
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.18.7",
4
+ "version": "0.18.8",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "web-framework",