@synopackageland/ui 0.20.10 → 0.20.12
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/CHANGELOG.md +21 -0
- package/README.md +19 -4
- package/dist/components/app/app-layout/pageTitle.d.ts +8 -6
- package/dist/components/app/app-tab-bar/AppTabBar.vue.d.ts +3 -1
- package/dist/components/app/page-content/pageSticky.d.ts +5 -0
- package/dist/components/composite/file-picker/FilePicker.vue.d.ts +17 -0
- package/dist/grid/cells/types.d.ts +2 -2
- package/dist/grid.js +6 -6
- package/dist/i18n/filePicker.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12392 -12307
- package/dist/json/catalog.d.ts +4 -4
- package/dist/json/registry.d.ts +68 -68
- package/dist/json-preview/preview.js +7382 -7321
- package/dist/lib/adaptiveLayout.d.ts +11 -1
- package/dist/lib/fileAccept.d.ts +17 -0
- package/dist/reka-runtime.json +1 -1
- package/dist/theme.css +1 -1
- package/dist/themes/dsm7-embedded-theme.css +1 -1
- package/dist/themes/dsm7-embedded.css +1 -1
- package/dist/themes/dsm7.css +1 -1
- package/docs/adaptive-layout.md +34 -0
- package/docs/button-policy.md +5 -0
- package/docs/color-system.md +6 -4
- package/docs/theme-hooks.md +1 -1
- package/docs/wizard.md +4 -0
- package/package.json +90 -1
|
@@ -68,9 +68,19 @@ export type AppNavigationDrawer = {
|
|
|
68
68
|
/** The drawer's element id, for `aria-controls`. */
|
|
69
69
|
id: string;
|
|
70
70
|
show: () => void;
|
|
71
|
-
/** A More tab is on screen: the layout drops its own menu button until the returned function is called. */
|
|
71
|
+
/** A More tab, or a tab bar set to no More, is on screen: the layout drops its own menu button until the returned function is called. */
|
|
72
72
|
claim: () => () => void;
|
|
73
73
|
};
|
|
74
74
|
export declare const APP_NAVIGATION_DRAWER_KEY: InjectionKey<AppNavigationDrawer>;
|
|
75
75
|
/** AppSidebar and AppTabBar report a change of the selected page, so AppLayout's content rises in. */
|
|
76
76
|
export declare const APP_PAGE_CHANGE_KEY: InjectionKey<() => void>;
|
|
77
|
+
/**
|
|
78
|
+
* A screen this short (a phone in landscape) gets AppLayout's short mode
|
|
79
|
+
* outside the phone presentation: the page title shows in the bar above the
|
|
80
|
+
* page, a settings page scrolls as one and PageHeader stops sticking
|
|
81
|
+
* (docs/adaptive-layout.md, "Short screens"). It is the viewport's height,
|
|
82
|
+
* not the container's: a DSM window on a desktop is never this short.
|
|
83
|
+
*/
|
|
84
|
+
export declare const SHORT_VIEWPORT_QUERY = "(max-height: 480px)";
|
|
85
|
+
/** True while AppLayout is in its short mode (SHORT_VIEWPORT_QUERY, not the phone presentation). */
|
|
86
|
+
export declare const APP_SHORT_KEY: InjectionKey<ComputedRef<boolean>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** The chooser type that triggers no capture on Android: the document chooser, every file. */
|
|
2
|
+
export declare const CAPTURE_FREE_ACCEPT = "application/octet-stream";
|
|
3
|
+
/** Whether an `accept` list names a video or audio type, by MIME type or by extension. */
|
|
4
|
+
export declare function acceptsRecording(accept: string | undefined): boolean;
|
|
5
|
+
/** Android, from User-Agent Client Hints where the browser has them, else from the user agent. */
|
|
6
|
+
export declare function isAndroid(nav?: (Navigator & {
|
|
7
|
+
userAgentData?: {
|
|
8
|
+
platform?: string;
|
|
9
|
+
};
|
|
10
|
+
}) | undefined): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The `accept` for the native file input. `nativeAccept`, when set, wins
|
|
13
|
+
* everywhere (an empty string sets no filter). Otherwise it is `accept`,
|
|
14
|
+
* except on Android when `accept` names a video or audio type: then
|
|
15
|
+
* CAPTURE_FREE_ACCEPT, so the chooser asks for no camera or microphone.
|
|
16
|
+
*/
|
|
17
|
+
export declare function chooserAccept(accept: string | undefined, nativeAccept: string | undefined, android?: boolean): string | undefined;
|
package/dist/reka-runtime.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"version": "2.11.0",
|
|
4
4
|
"delivery": "bundled-patched-esm",
|
|
5
5
|
"patchManifestSha256": "9c5b9c9a162fa584b4695a683368a4484b3ac6e70177fd063b77aa618c051627",
|
|
6
|
-
"bundleSha256": "
|
|
6
|
+
"bundleSha256": "0352b898e22065390307469ac6ca531b6d752605084b546f32fff590a4d2f2ff",
|
|
7
7
|
"sourceHashes": {
|
|
8
8
|
"shared/useBodyScrollLock.js": "287bfb604318c4202769e4b5191896eaf0e52a952e1de898967cbe09467fcfda",
|
|
9
9
|
"DismissableLayer/DismissableLayer.js": "3c8d248f0a32e01f89ca1f6202b1bb691bf5d0e4012a92535e161c35e69cdc32",
|