@vectoriox/iox-ui 5.5.0 → 5.5.2
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/actions-core/index.d.ts +4 -1
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +7 -2
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +8 -0
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/actions-core/element-actions.ts +8 -1
package/index.d.ts
CHANGED
|
@@ -99,6 +99,10 @@ declare class PageScrollProvider {
|
|
|
99
99
|
private lenis?;
|
|
100
100
|
private rafId?;
|
|
101
101
|
init(options?: ConstructorParameters<typeof Lenis>[0]): void;
|
|
102
|
+
/** Hard-stop page scroll (dialog open, A1b): wheel/touch frozen until start(). */
|
|
103
|
+
stop(): void;
|
|
104
|
+
/** Resume after stop() — the dialog's close path, incl. native Esc/backdrop closes. */
|
|
105
|
+
start(): void;
|
|
102
106
|
scrollTo(y: number, options?: {
|
|
103
107
|
duration?: number;
|
|
104
108
|
immediate?: boolean;
|
package/package.json
CHANGED
|
@@ -48,7 +48,9 @@ export const ELEMENT_ACTION_DESCRIPTORS: readonly ActionDescriptor[] = Object.fr
|
|
|
48
48
|
target: { required: true, types: ['Dialog'] } },
|
|
49
49
|
|
|
50
50
|
// ── Form (A1 — Tier A; the submit transport is the forms module's, I7 of its plan) ──
|
|
51
|
-
|
|
51
|
+
// simulate in the CANVAS: the builder's Form is a container twin with no real <form>,
|
|
52
|
+
// so there is nothing honest to run — the live engine requestSubmit()s the real one.
|
|
53
|
+
{ type: 'submitForm', labelKey: 'builder.actions.submitForm', kind: 'instant', group: 'form', builderBehaviour: 'simulate',
|
|
52
54
|
target: { required: true, types: ['Form'] } },
|
|
53
55
|
|
|
54
56
|
// ── Data (shipped context actions + the one trivial newcomer) ───────────
|
|
@@ -64,6 +66,11 @@ export const ELEMENT_ACTION_DESCRIPTORS: readonly ActionDescriptor[] = Object.fr
|
|
|
64
66
|
planned: true, connector: 'payment', entitlement: 'commerce' },
|
|
65
67
|
]);
|
|
66
68
|
|
|
69
|
+
/** The Tier-A behaviour executors' dispatch set (A1c) — the engines branch on it beside
|
|
70
|
+
* DIALOG/SWIPER. Dialog actions have their own set; context/visibility stay in the legacy path. */
|
|
71
|
+
export const BEHAVIOUR_ACTION_TYPES: ReadonlySet<string> =
|
|
72
|
+
new Set(['navigate', 'scrollTo', 'submitForm', 'copyToClipboard']);
|
|
73
|
+
|
|
67
74
|
/** Picker order — most-used groups first, services last (they are the shop window, not the shop). */
|
|
68
75
|
export const ELEMENT_ACTION_GROUP_ORDER: readonly string[] =
|
|
69
76
|
Object.freeze(['motion', 'visibility', 'navigate', 'dialog', 'form', 'data', 'service']);
|