@panyam/tsappkit 0.7.10 → 0.7.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/README.md CHANGED
@@ -8,7 +8,7 @@ The guides are at https://panyam.github.io/goapplib/. This page lists what's in
8
8
  npm install @panyam/tsappkit
9
9
  ```
10
10
 
11
- goapplib and the packages share one version, so goapplib `v0.7.10` goes with `@panyam/tsappkit@0.7.10`.
11
+ goapplib and the packages share one version, so goapplib `v0.7.12` goes with `@panyam/tsappkit@0.7.12`.
12
12
 
13
13
  ## `@panyam/tsappkit`
14
14
 
@@ -101,6 +101,8 @@ See [Guided tours](https://panyam.github.io/goapplib/guide/tour/).
101
101
 
102
102
  `Modal`, `ToastManager`, `ThemeManager` (light, dark or the system's), `SplashScreen`, `MobileBottomDrawer`, `TemplateLoader`, and `KeyboardShortcutManager` for multi-key shortcuts, with `shouldIgnoreShortcut` and the other `DOMUtils` helpers.
103
103
 
104
+ `MobileBottomDrawer` is deprecated. A bottom drawer from `@panyam/tsappkit-dock` covers it, with swipe to close, tabs, and a size as a share of the screen. The [dock guide's phone section](https://panyam.github.io/goapplib/guide/dock/#phone-pages) shows the setup. It stays here until lilbattle moves off it.
105
+
104
106
  ## `@panyam/tsappkit/wasmhost`
105
107
 
106
108
  The page side of wasmhost. The Go side builds an app's own HTTP or Connect handler to wasm with `goapplib/wasmhost`, and the page talks to it through a fetch that never reaches the network:
package/dist/index.d.mts CHANGED
@@ -640,6 +640,12 @@ declare class SplashScreen {
640
640
  * - Swipe down to close gesture
641
641
  * - Smooth slide-up/down animations
642
642
  * - Holds any panel content
643
+ *
644
+ * @deprecated Use a bottom drawer from `@panyam/tsappkit-dock` instead. Put the page's main view in a
645
+ * one-panel grid and the other panels in the bottom drawer, with `drawers: { bottom: { size: 0.65,
646
+ * tabs: false } }`. Open a panel with `dock.show(id)`, and highlight its button from
647
+ * `drawerChanged`. A drag or a touch flick toward the edge closes the drawer, as a swipe closes this
648
+ * one. See https://panyam.github.io/goapplib/guide/dock/#phone-pages
643
649
  */
644
650
  declare class MobileBottomDrawer extends BaseComponent implements LCMComponent {
645
651
  private backdropElement;
package/dist/index.d.ts CHANGED
@@ -640,6 +640,12 @@ declare class SplashScreen {
640
640
  * - Swipe down to close gesture
641
641
  * - Smooth slide-up/down animations
642
642
  * - Holds any panel content
643
+ *
644
+ * @deprecated Use a bottom drawer from `@panyam/tsappkit-dock` instead. Put the page's main view in a
645
+ * one-panel grid and the other panels in the bottom drawer, with `drawers: { bottom: { size: 0.65,
646
+ * tabs: false } }`. Open a panel with `dock.show(id)`, and highlight its button from
647
+ * `drawerChanged`. A drag or a touch flick toward the edge closes the drawer, as a swipe closes this
648
+ * one. See https://panyam.github.io/goapplib/guide/dock/#phone-pages
643
649
  */
644
650
  declare class MobileBottomDrawer extends BaseComponent implements LCMComponent {
645
651
  private backdropElement;