vintage-frames 0.19.0 → 0.20.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/README.md +1 -18
- package/custom-elements.json +247 -59
- package/dist/components/vf-menu-bar.d.ts +6 -4
- package/dist/components/vf-menu-bar.js +26 -56
- package/dist/components/vf-menu-item.d.ts +33 -5
- package/dist/components/vf-menu-item.js +128 -61
- package/dist/components/vf-menu.d.ts +35 -0
- package/dist/components/vf-menu.js +171 -111
- package/dist/glyphs.d.ts +6 -0
- package/dist/glyphs.js +18 -14
- package/dist/menu-navigation.d.ts +34 -0
- package/dist/menu-navigation.js +53 -0
- package/dist/menu-press.d.ts +25 -7
- package/dist/menu-press.js +78 -44
- package/dist/motion.d.ts +10 -0
- package/dist/text-control.d.ts +3 -3
- package/docs/SPEC.md +13 -9
- package/editor/vscode.html-custom-data.json +13 -8
- package/editor/web-types.json +51 -15
- package/package.json +4 -34
- package/dist/build/app-file.d.ts +0 -21
- package/dist/build/app-file.js +0 -42
- package/dist/build/box.d.ts +0 -57
- package/dist/build/box.js +0 -93
- package/dist/build/client.d.ts +0 -12
- package/dist/build/frame-picture.d.ts +0 -6
- package/dist/build/frame-picture.js +0 -4
- package/dist/build/frame.d.ts +0 -11
- package/dist/build/frame.js +0 -44
- package/dist/build/index.d.ts +0 -14
- package/dist/build/index.js +0 -4
- package/dist/build/plugins.d.ts +0 -41
- package/dist/build/plugins.js +0 -134
- package/dist/build/png.d.ts +0 -24
- package/dist/build/png.js +0 -116
- package/dist/shell/alert.d.ts +0 -40
- package/dist/shell/alert.js +0 -41
- package/dist/shell/app-file.d.ts +0 -115
- package/dist/shell/app-file.js +0 -189
- package/dist/shell/catalog.d.ts +0 -212
- package/dist/shell/catalog.js +0 -317
- package/dist/shell/clock.d.ts +0 -16
- package/dist/shell/clock.js +0 -36
- package/dist/shell/filing.d.ts +0 -39
- package/dist/shell/filing.js +0 -68
- package/dist/shell/finder.d.ts +0 -179
- package/dist/shell/finder.js +0 -662
- package/dist/shell/geometry.d.ts +0 -203
- package/dist/shell/geometry.js +0 -257
- package/dist/shell/index.d.ts +0 -30
- package/dist/shell/index.js +0 -12
- package/dist/shell/pure.d.ts +0 -13
- package/dist/shell/pure.js +0 -6
- package/dist/shell/shell.d.ts +0 -177
- package/dist/shell/shell.js +0 -272
- package/dist/shell/state.d.ts +0 -88
- package/dist/shell/state.js +0 -103
- package/dist/shell/storage.d.ts +0 -14
- package/dist/shell/storage.js +0 -41
- package/dist/shell/version.d.ts +0 -2
- package/dist/shell/version.js +0 -4
- package/dist/shell/windows.d.ts +0 -278
- package/dist/shell/windows.js +0 -447
- package/dist/styles/body-strike.d.ts +0 -12
- package/dist/styles/body-strike.js +0 -3961
- package/dist/styles/display-strike.d.ts +0 -12
- package/dist/styles/display-strike.js +0 -4343
- package/dist/styles/strike.d.ts +0 -30
package/dist/styles/strike.d.ts
DELETED
|
@@ -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
|
-
}
|