@keemakr/ui-sdk 1.6.0-dev-20261029112042 → 1.6.0-dev-20261029113120
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/dist/schema.d.ts +5 -3
- package/dist/schema.js +5 -3
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -27,9 +27,11 @@ export declare const NAVIGATE_OPENS: readonly ["drawer"];
|
|
|
27
27
|
* - a press in it with `open: 'drawer'`, and an action result's `navigate`, show that screen in
|
|
28
28
|
* the same drawer (a drawer never opens another drawer);
|
|
29
29
|
* - a press in it without `open` leaves the drawer and opens the screen as a page;
|
|
30
|
-
* - an action
|
|
31
|
-
* unless its result returns a `tree` (the drawer is drawn again as it
|
|
32
|
-
* (the drawer moves on). A
|
|
30
|
+
* - an action pressed in it that succeeds closes it ("Approve", "Done", a form's send: the
|
|
31
|
+
* item is dealt with), unless its result returns a `tree` (the drawer is drawn again as it
|
|
32
|
+
* now is) or a `navigate` (the drawer moves on). A control that applies a value (a toggle, a
|
|
33
|
+
* select, an inline edit, a pager, a sort, a filter, a search) keeps it open, as does a failed
|
|
34
|
+
* action, with the failure said;
|
|
33
35
|
* - `refresh` refreshes the drawer, not the screen underneath, for an action that keeps it open
|
|
34
36
|
* (a finished job's result follows the same rule);
|
|
35
37
|
* - closing it reads the screen underneath again when an action ran in it, so "Mark done" in
|
package/dist/schema.js
CHANGED
|
@@ -55,9 +55,11 @@ export const NAVIGATE_OPENS = ['drawer'];
|
|
|
55
55
|
* - a press in it with `open: 'drawer'`, and an action result's `navigate`, show that screen in
|
|
56
56
|
* the same drawer (a drawer never opens another drawer);
|
|
57
57
|
* - a press in it without `open` leaves the drawer and opens the screen as a page;
|
|
58
|
-
* - an action
|
|
59
|
-
* unless its result returns a `tree` (the drawer is drawn again as it
|
|
60
|
-
* (the drawer moves on). A
|
|
58
|
+
* - an action pressed in it that succeeds closes it ("Approve", "Done", a form's send: the
|
|
59
|
+
* item is dealt with), unless its result returns a `tree` (the drawer is drawn again as it
|
|
60
|
+
* now is) or a `navigate` (the drawer moves on). A control that applies a value (a toggle, a
|
|
61
|
+
* select, an inline edit, a pager, a sort, a filter, a search) keeps it open, as does a failed
|
|
62
|
+
* action, with the failure said;
|
|
61
63
|
* - `refresh` refreshes the drawer, not the screen underneath, for an action that keeps it open
|
|
62
64
|
* (a finished job's result follows the same rule);
|
|
63
65
|
* - closing it reads the screen underneath again when an action ran in it, so "Mark done" in
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keemakr/ui-sdk",
|
|
3
|
-
"version": "1.6.0-dev-
|
|
3
|
+
"version": "1.6.0-dev-20261029113120",
|
|
4
4
|
"description": "Product screens for keemakr marketplace modules: a versioned, server-driven UI tree schema plus defineScreen() handlers. Module code never ships to the browser — keemakr-core validates the tree and renders it with platform components.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|