@smartbit4all/ng-client 7.3.48 → 7.3.49
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/MIGRATION-7.0.md +30 -0
- package/fesm2022/smartbit4all-ng-client.mjs +19 -4
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-7.3.49.tgz +0 -0
- package/types/smartbit4all-ng-client.d.ts +18 -1
- package/smartbit4all-ng-client-7.3.48.tgz +0 -0
package/MIGRATION-7.0.md
CHANGED
|
@@ -2236,6 +2236,36 @@ Additive, and needs the matching platform. Nothing changes for a layout that nam
|
|
|
2236
2236
|
of `resolveHtml`, `DataSheetPageApi.CONTEXT_DATA_SHEET`. See HTML-WIDGET.md, *Template-kulcs egy
|
|
2237
2237
|
tárolt layoutban*.
|
|
2238
2238
|
|
|
2239
|
+
### Icon font: Material Symbols (7.3.30)
|
|
2240
|
+
|
|
2241
|
+
**Needs action in every 7.x host, though it shipped in a patch release.** From 7.3.30 the
|
|
2242
|
+
library renders its font icons — `smart-icon`, the grid, form, tree, dialog and filter buttons,
|
|
2243
|
+
the menus — with `fontSet="material-symbols-outlined"`. Without that font loaded, every such
|
|
2244
|
+
icon shows its ligature as raw text (`refresh`, `search`, `more_vert`). Load it in `index.html`,
|
|
2245
|
+
**next to** the Material Icons font, not instead of it:
|
|
2246
|
+
|
|
2247
|
+
```html
|
|
2248
|
+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
|
2249
|
+
<link
|
|
2250
|
+
rel="stylesheet"
|
|
2251
|
+
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"
|
|
2252
|
+
/>
|
|
2253
|
+
```
|
|
2254
|
+
|
|
2255
|
+
- **Keep Material Icons.** A dozen library icons (the navbar's) and every plain `<mat-icon>`
|
|
2256
|
+
of the host still use the default font set.
|
|
2257
|
+
- **Ask for the default axis values only.** The library sets no `font-variation-settings`, so
|
|
2258
|
+
`@24,400,0,0` (≈320 KB) renders exactly what the full variable range
|
|
2259
|
+
(`@20..48,100..700,0..1,-50..200`, ≈4 MB) would.
|
|
2260
|
+
- **A self-hosted icon font** (the `material-icons` npm package imported in `styles.css`, as
|
|
2261
|
+
in p009) has its pair in the `material-symbols` package: `@import
|
|
2262
|
+
'material-symbols/outlined.css';`.
|
|
2263
|
+
- **Check the icon names the backend sends.** A name that only Material Icons has also renders
|
|
2264
|
+
as raw text under Material Symbols — look for one in the smoke.
|
|
2265
|
+
|
|
2266
|
+
The codemod's `icon-font` rule adds the link next to a Google Material Icons link and reports a
|
|
2267
|
+
host that loads its icon font some other way.
|
|
2268
|
+
|
|
2239
2269
|
### Bugfixes shipped with 7.0
|
|
2240
2270
|
|
|
2241
2271
|
- (7.3.2) A view dialog no longer disappears on the browser's back button. MatDialog's default
|