vintage-frames 0.19.1 → 0.20.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.
Files changed (59) hide show
  1. package/README.md +1 -18
  2. package/custom-elements.json +72 -13
  3. package/dist/components/vf-desktop.d.ts +36 -6
  4. package/dist/components/vf-desktop.js +41 -23
  5. package/dist/components/vf-window.d.ts +19 -0
  6. package/dist/components/vf-window.js +33 -3
  7. package/dist/text-control.d.ts +3 -3
  8. package/docs/SPEC.md +8 -6
  9. package/editor/vscode.html-custom-data.json +10 -5
  10. package/editor/web-types.json +25 -10
  11. package/package.json +4 -34
  12. package/dist/build/app-file.d.ts +0 -21
  13. package/dist/build/app-file.js +0 -42
  14. package/dist/build/box.d.ts +0 -57
  15. package/dist/build/box.js +0 -93
  16. package/dist/build/client.d.ts +0 -12
  17. package/dist/build/frame-picture.d.ts +0 -6
  18. package/dist/build/frame-picture.js +0 -4
  19. package/dist/build/frame.d.ts +0 -11
  20. package/dist/build/frame.js +0 -44
  21. package/dist/build/index.d.ts +0 -14
  22. package/dist/build/index.js +0 -4
  23. package/dist/build/plugins.d.ts +0 -41
  24. package/dist/build/plugins.js +0 -134
  25. package/dist/build/png.d.ts +0 -24
  26. package/dist/build/png.js +0 -116
  27. package/dist/shell/alert.d.ts +0 -40
  28. package/dist/shell/alert.js +0 -41
  29. package/dist/shell/app-file.d.ts +0 -115
  30. package/dist/shell/app-file.js +0 -189
  31. package/dist/shell/catalog.d.ts +0 -250
  32. package/dist/shell/catalog.js +0 -349
  33. package/dist/shell/clock.d.ts +0 -16
  34. package/dist/shell/clock.js +0 -36
  35. package/dist/shell/filing.d.ts +0 -39
  36. package/dist/shell/filing.js +0 -68
  37. package/dist/shell/finder.d.ts +0 -180
  38. package/dist/shell/finder.js +0 -676
  39. package/dist/shell/geometry.d.ts +0 -203
  40. package/dist/shell/geometry.js +0 -257
  41. package/dist/shell/index.d.ts +0 -30
  42. package/dist/shell/index.js +0 -12
  43. package/dist/shell/pure.d.ts +0 -13
  44. package/dist/shell/pure.js +0 -6
  45. package/dist/shell/shell.d.ts +0 -177
  46. package/dist/shell/shell.js +0 -277
  47. package/dist/shell/state.d.ts +0 -88
  48. package/dist/shell/state.js +0 -103
  49. package/dist/shell/storage.d.ts +0 -14
  50. package/dist/shell/storage.js +0 -41
  51. package/dist/shell/version.d.ts +0 -2
  52. package/dist/shell/version.js +0 -4
  53. package/dist/shell/windows.d.ts +0 -278
  54. package/dist/shell/windows.js +0 -447
  55. package/dist/styles/body-strike.d.ts +0 -12
  56. package/dist/styles/body-strike.js +0 -3961
  57. package/dist/styles/display-strike.d.ts +0 -12
  58. package/dist/styles/display-strike.js +0 -4343
  59. package/dist/styles/strike.d.ts +0 -30
@@ -1,30 +0,0 @@
1
- /**
2
- * One of the kit's bitmap faces, as data: each glyph's advance, placement
3
- * and ink, from the glyph manifest the face's woff2 is built from
4
- * (fonts/manifest-to-font.py writes both). Everything is in whole design
5
- * px, and one design px is one system px.
6
- */
7
- export interface Strike {
8
- /** The family it is registered under: `VF Display` or `VF Body`. */
9
- family: string;
10
- /** The em box: `ascent` px above the baseline, `descent` below. */
11
- ascent: number;
12
- descent: number;
13
- /** Each character the face draws, by the character itself. */
14
- glyphs: Readonly<Record<string, StrikeGlyph>>;
15
- }
16
- /** One glyph of a {@link Strike}. */
17
- export interface StrikeGlyph {
18
- /** The pen advance. */
19
- advance: number;
20
- /**
21
- * The ink field's left and bottom edges from the pen origin. The baseline
22
- * is y = 0, and y grows upward.
23
- */
24
- x0: number;
25
- y0: number;
26
- width: number;
27
- height: number;
28
- /** The ink, top row first: `#` ink, `.` blank. Empty for a glyph with no ink. */
29
- rows: readonly string[];
30
- }