@stacksjs/defaults 0.75.197 → 0.75.198

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.
@@ -592,3 +592,19 @@ observable from the generated project: search a record's name from the home
592
592
  screen, confirm the entry appears and opens that record rather than the last
593
593
  screen, then make it stop being the person's (leave, unsave, withdraw, sign
594
594
  out) and confirm it stops being findable.
595
+
596
+ ## Bundled native fonts
597
+
598
+ `ios.nativeFonts` and `android.nativeFonts` map a font's PostScript name to local
599
+ `{ src, license? }` paths, resolved against the application root. Use the same
600
+ name in a native Text node's `fontFamily` style. For example:
601
+
602
+ ```ts
603
+ nativeFonts: {
604
+ 'Allura-Regular': { src: 'public/assets/fonts/allura/Allura-Regular.ttf', license: 'public/assets/fonts/allura/OFL.txt' },
605
+ }
606
+ ```
607
+
608
+ Craft >= 0.0.229 packages the files and licenses into both apps. iOS registers
609
+ `UIAppFonts`; Android loads asset typefaces. The build rejects older builders,
610
+ missing font files and invalid names. Fonts work without a network request.
@@ -2,7 +2,7 @@
2
2
  "publisher": "Stacks",
3
3
  "name": "vscode-stacks",
4
4
  "displayName": "Stacks",
5
- "version": "0.75.197",
5
+ "version": "0.75.198",
6
6
  "description": "Stacks, built into VS Code: stx templates, pickier linting and formatting, encrypted env files, the dev server preview and every buddy command. No other extensions required.",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/chrisbbreuer",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/defaults",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.197",
5
+ "version": "0.75.198",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/stacksjs/stacks.git",
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@iconify-json/f7": "^1.2.2",
57
57
  "@iconify-json/hugeicons": "^1.2.35",
58
- "@stacksjs/mobile": "0.75.197",
58
+ "@stacksjs/mobile": "0.75.198",
59
59
  "@stacksjs/sanitizer": "^0.2.534",
60
60
  "@xterm/addon-fit": "^0.11.0",
61
61
  "@xterm/xterm": "^6.0.0",