@iyulab/modern-app 0.30.2 → 0.31.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,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.31.0] - 2026-09-28
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- **Depends on `@iyulab/router` `^0.17.0`**, where `@lit/react` is an optional peer. Apps that import
|
|
8
|
+
`@iyulab/modern-app/react` already install `@lit/react` (an optional peer here too); nothing else
|
|
9
|
+
changes.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **`document.querySelector('u-sidebar-layout')` is typed as `SidebarLayout`.** The shell was the
|
|
14
|
+
one element without an `HTMLElementTagNameMap` entry, so reaching `mainElement` from a query
|
|
15
|
+
needed a cast.
|
|
16
|
+
|
|
3
17
|
## [0.30.2] - 2026-09-28
|
|
4
18
|
|
|
5
19
|
### Fixed
|
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.
|
|
4
|
+
"version": "0.31.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iyulab",
|
|
7
7
|
"web-framework",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"test:react-types": "tsc -p tsconfig.react-smoke.json"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@iyulab/router": "^0.
|
|
62
|
+
"@iyulab/router": "^0.17.0",
|
|
63
63
|
"i18next": "^26.3.6",
|
|
64
64
|
"lit": "^3.3.3"
|
|
65
65
|
},
|
|
@@ -77,18 +77,19 @@
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
+
"@iyulab/components": ">=1.47.1",
|
|
80
81
|
"@lit/react": "^1.0.8",
|
|
81
82
|
"@types/node": "^26.1.1",
|
|
82
83
|
"@types/react": "^19.2.14",
|
|
83
84
|
"@types/react-dom": "^19.2.3",
|
|
84
85
|
"@vitest/browser-playwright": "^5.0.0",
|
|
86
|
+
"glob": "^13.0.6",
|
|
85
87
|
"happy-dom": "^20.10.6",
|
|
86
88
|
"react": "^19.2.7",
|
|
87
89
|
"react-dom": "^19.2.7",
|
|
88
90
|
"typescript": "^6.0.2",
|
|
89
91
|
"vite": "^8.1.4",
|
|
90
92
|
"vite-plugin-dts": "^5.0.3",
|
|
91
|
-
"vitest": "^5.0.0"
|
|
92
|
-
"@iyulab/components": ">=1.47.1"
|
|
93
|
+
"vitest": "^5.0.0"
|
|
93
94
|
}
|
|
94
95
|
}
|
|
@@ -347,7 +347,9 @@ click — by the same rule as the overlay panel (see *What the shell owns, and w
|
|
|
347
347
|
and it marks where the new screen starts.
|
|
348
348
|
|
|
349
349
|
So a screen that must receive input on entry — a barcode scan field, a search box — only needs
|
|
350
|
-
`autofocus` on that control.
|
|
350
|
+
`autofocus` on that control. The same holds for a React screen (`autoFocus` on a native input, or `autofocus`
|
|
351
|
+
on a component such as `UInput`) — `@iyulab/router` 0.16.1 and later report `route-done` only after
|
|
352
|
+
React has committed the screen. While the overlay is open the shell does none of this: the route
|
|
351
353
|
underneath is inert and focus stays in the panel.
|
|
352
354
|
|
|
353
355
|
## Printing
|