@vectoriox/iox-ui 5.163.0 → 5.164.1
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/composite-core/index.d.ts +15 -1
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +14 -0
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +409 -23
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs +175 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +6 -3
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +41 -7
- package/index.d.ts +4 -1
- package/package.json +1 -1
- package/scene-core/index.d.ts +68 -3
- package/src/composite-core/composite-kinds.ts +14 -0
- package/src/generation-core/check-layout.ts +34 -4
- package/src/generation-core/compose-layout.ts +219 -10
- package/src/generation-core/compose-site.ts +2 -0
- package/src/generation-core/layout-drawers.ts +106 -0
- package/src/generation-core/layout-fingerprint.ts +3 -0
- package/src/generation-core/layout-language.ts +4 -0
- package/src/generation-core/layout-space.ts +3 -2
- package/src/generation-core/layout-wire.ts +15 -3
- package/src/generation-core/patterns.ts +4 -0
- package/src/generation-core/site-spec.generated.ts +57 -5
- package/src/scene-core/scene.ts +6 -0
- package/src/scene-core/scroll-driver.ts +169 -1
- package/styles/iox-design.css +27 -0
|
@@ -145,7 +145,21 @@ declare enum SegmentedRole {
|
|
|
145
145
|
*/
|
|
146
146
|
declare enum SceneRole {
|
|
147
147
|
Scene = "scene",
|
|
148
|
-
Stage = "scene.stage"
|
|
148
|
+
Stage = "scene.stage",
|
|
149
|
+
/** AW9 (RT-D4): a sideways walk's wide row — on a phone, a row the visitor swipes. */
|
|
150
|
+
Walk = "scene.walk",
|
|
151
|
+
/** One screen of a walk: laid out on the wide row's grid (`display: contents`), on a phone a card the row snaps to. */
|
|
152
|
+
WalkScreen = "scene.walk-screen",
|
|
153
|
+
/**
|
|
154
|
+
* A picture's frame in a walk: the size its drift is measured against (`container-type: inline-size`, shared CSS), so a
|
|
155
|
+
* drift in `cqw` is a share of the FRAME, which is what the over-scale's slack is a share of.
|
|
156
|
+
*/
|
|
157
|
+
WalkFrame = "scene.walk-frame",
|
|
158
|
+
/** AW9 `drawers`: one step — a panel that slides in from the inline end and stops one spine after the one before. */
|
|
159
|
+
Drawer = "scene.drawer",
|
|
160
|
+
/** A drawer's spine: its number and heading, standing on end (on a phone, a label above the step). Decorative to
|
|
161
|
+
* assistive technology — the step's own heading says it. */
|
|
162
|
+
DrawerSpine = "scene.drawer-spine"
|
|
149
163
|
}
|
|
150
164
|
interface RoleLike$2 {
|
|
151
165
|
role?: string | null;
|
|
@@ -198,6 +198,20 @@ var SceneRole;
|
|
|
198
198
|
(function (SceneRole) {
|
|
199
199
|
SceneRole["Scene"] = "scene";
|
|
200
200
|
SceneRole["Stage"] = "scene.stage";
|
|
201
|
+
/** AW9 (RT-D4): a sideways walk's wide row — on a phone, a row the visitor swipes. */
|
|
202
|
+
SceneRole["Walk"] = "scene.walk";
|
|
203
|
+
/** One screen of a walk: laid out on the wide row's grid (`display: contents`), on a phone a card the row snaps to. */
|
|
204
|
+
SceneRole["WalkScreen"] = "scene.walk-screen";
|
|
205
|
+
/**
|
|
206
|
+
* A picture's frame in a walk: the size its drift is measured against (`container-type: inline-size`, shared CSS), so a
|
|
207
|
+
* drift in `cqw` is a share of the FRAME, which is what the over-scale's slack is a share of.
|
|
208
|
+
*/
|
|
209
|
+
SceneRole["WalkFrame"] = "scene.walk-frame";
|
|
210
|
+
/** AW9 `drawers`: one step — a panel that slides in from the inline end and stops one spine after the one before. */
|
|
211
|
+
SceneRole["Drawer"] = "scene.drawer";
|
|
212
|
+
/** A drawer's spine: its number and heading, standing on end (on a phone, a label above the step). Decorative to
|
|
213
|
+
* assistive technology — the step's own heading says it. */
|
|
214
|
+
SceneRole["DrawerSpine"] = "scene.drawer-spine";
|
|
201
215
|
})(SceneRole || (SceneRole = {}));
|
|
202
216
|
const COMPOSITE_KIND_ROLES = {
|
|
203
217
|
[CompositeKind.Accordion]: { root: AccordionRole.Accordion, item: AccordionRole.Item, trigger: AccordionRole.Trigger, panel: AccordionRole.Panel, icon: AccordionRole.Icon },
|