@panyam/tsappkit 0.7.9 → 0.7.11
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 +3 -1
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/MobileBottomDrawer.ts +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panyam/tsappkit",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.11",
|
|
4
4
|
"description": "TypeScript application toolkit with component lifecycle management, event system, UI utilities, and documentation site components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -12,6 +12,12 @@ import { EventBus } from './EventBus';
|
|
|
12
12
|
* - Swipe down to close gesture
|
|
13
13
|
* - Smooth slide-up/down animations
|
|
14
14
|
* - Holds any panel content
|
|
15
|
+
*
|
|
16
|
+
* @deprecated Use a bottom drawer from `@panyam/tsappkit-dock` instead. Put the page's main view in a
|
|
17
|
+
* one-panel grid and the other panels in the bottom drawer, with `drawers: { bottom: { size: 0.65,
|
|
18
|
+
* tabs: false } }`. Open a panel with `dock.show(id)`, and highlight its button from
|
|
19
|
+
* `drawerChanged`. A drag or a touch flick toward the edge closes the drawer, as a swipe closes this
|
|
20
|
+
* one. See https://panyam.github.io/goapplib/guide/dock/#phone-pages
|
|
15
21
|
*/
|
|
16
22
|
export class MobileBottomDrawer extends BaseComponent implements LCMComponent {
|
|
17
23
|
private backdropElement: HTMLElement;
|