@iyulab/modern-app 0.28.0 → 0.28.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.28.1] - 2026-09-24
4
+
5
+ ### Fixed
6
+
7
+ - **No logo, no logo element.** With no `logo` configured, the shell rendered an empty `u-icon` as
8
+ a placeholder. Even at zero width it took one gap in the header, indenting the title; with
9
+ `@iyulab/components` 1.46.0, where icons reserve their box before loading, it became an
10
+ invisible 24px box. It is gone — update both together if you do not configure a logo.
11
+ - `u-sidebar-link` now defines the `<u-link>` it renders instead of relying on the shell having
12
+ loaded the router first.
13
+
3
14
  ## [0.28.0] - 2026-09-24
4
15
 
5
16
  ### Added
@@ -3,6 +3,7 @@ import t from "../_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/decorate.js
3
3
  import { StyledElement as n } from "../internals/StyledElement.js";
4
4
  import { DEFAULT_NAV_ICON as r } from "../internals/nav-icon.js";
5
5
  import { styles as i } from "./SidebarLink.styles.js";
6
+ import "@iyulab/router";
6
7
  import { html as a, nothing as o } from "lit";
7
8
  import { customElement as s, property as c } from "lit/decorators.js";
8
9
  import "@iyulab/components/dist/components/icon/UIcon.js";
@@ -311,7 +311,7 @@ var O = class extends i {
311
311
  .fallback=${s}
312
312
  ></u-icon>
313
313
  </u-link>
314
- ` : l`<u-icon class="logo"></u-icon>`;
314
+ ` : u;
315
315
  if (typeof e == "function") {
316
316
  let n = e(this.state);
317
317
  return l`
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.28.0",
4
+ "version": "0.28.1",
5
5
  "keywords": [
6
6
  "iyulab",
7
7
  "web-framework",