vintage-frames 0.15.0 → 0.16.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.
- package/custom-elements.json +907 -99
- package/dist/chrome.d.ts +10 -1
- package/dist/chrome.js +8 -3
- package/dist/components/vf-desktop.d.ts +5 -2
- package/dist/components/vf-desktop.js +5 -5
- package/dist/components/vf-dialog.d.ts +14 -8
- package/dist/components/vf-dialog.js +27 -27
- package/dist/components/vf-menu-bar.js +9 -10
- package/dist/components/vf-menu-item.js +18 -13
- package/dist/components/vf-menu.d.ts +8 -3
- package/dist/components/vf-menu.js +85 -61
- package/dist/components/vf-number-field.d.ts +4 -0
- package/dist/components/vf-number-field.js +28 -25
- package/dist/components/vf-paragraph.d.ts +3 -1
- package/dist/components/vf-paragraph.js +7 -0
- package/dist/components/vf-scroll-area.d.ts +16 -1
- package/dist/components/vf-scroll-area.js +39 -29
- package/dist/components/vf-select.d.ts +5 -4
- package/dist/components/vf-select.js +26 -17
- package/dist/components/vf-text-field.d.ts +5 -5
- package/dist/components/vf-text-field.js +1 -1
- package/dist/components/vf-window.d.ts +22 -5
- package/dist/components/vf-window.js +113 -98
- package/dist/cursor.d.ts +8 -0
- package/dist/cursor.js +70 -73
- package/dist/index.d.ts +2 -1
- package/dist/modal-dialog.d.ts +27 -5
- package/dist/modal-dialog.js +63 -51
- package/dist/shell/catalog.d.ts +1 -1
- package/dist/shell/catalog.js +32 -18
- package/dist/shell/finder.d.ts +6 -1
- package/dist/shell/finder.js +182 -176
- package/dist/shell/index.d.ts +1 -1
- package/dist/shell/pure.d.ts +10 -0
- package/dist/shell/pure.js +4 -0
- package/dist/shell/shell.d.ts +16 -3
- package/dist/shell/shell.js +141 -126
- package/dist/shell/windows.d.ts +57 -13
- package/dist/shell/windows.js +214 -154
- package/dist/text-control.d.ts +46 -3
- package/dist/text-control.js +33 -5
- package/dist/top-layer.d.ts +13 -0
- package/dist/top-layer.js +16 -0
- package/docs/SPEC.md +25 -24
- package/editor/vscode.html-custom-data.json +36 -11
- package/editor/web-types.json +81 -23
- package/package.json +5 -1
package/dist/shell/finder.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export interface FinderAlerts {
|
|
|
58
58
|
count: number;
|
|
59
59
|
bytes: number;
|
|
60
60
|
};
|
|
61
|
-
/** New Folder, Paste
|
|
61
|
+
/** New Folder, Paste, a dropped file or `storageReady()`, without storage. */
|
|
62
62
|
'storage-unavailable': Record<string, never>;
|
|
63
63
|
/** A rename past the limit. */
|
|
64
64
|
'name-too-long': {
|
|
@@ -123,6 +123,11 @@ export interface FinderApi {
|
|
|
123
123
|
addCommand(spec: FinderCommandSpec): VfMenuItem;
|
|
124
124
|
/** Answer one of the Finder's alerts with the site's own dialog. Call it from `extend`. */
|
|
125
125
|
alertWith<K extends FinderAlert>(id: K, handler: FinderAlertHandler<K>): void;
|
|
126
|
+
/**
|
|
127
|
+
* Whether storage answers. When it doesn't, raises Storage Unavailable —
|
|
128
|
+
* the site's answer to it, where `alertWith` gave one — and returns false.
|
|
129
|
+
*/
|
|
130
|
+
storageReady(): boolean;
|
|
126
131
|
}
|
|
127
132
|
export interface FinderOptions {
|
|
128
133
|
/** Where the catalog is kept: `memoryStorage()`, `indexedDbStorage(name)`, the site's own, or null for nothing. */
|