@vectoriox/iox-ui 5.198.0 → 5.200.0
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 +7 -1
- package/data-core/index.d.ts +11 -3
- package/design-core/index.d.ts +479 -52
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs +6 -1
- package/fesm2022/vectoriox-iox-ui-actions-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-data-core.mjs +30 -4
- package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +704 -55
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs +5 -2
- package/fesm2022/vectoriox-iox-ui-forms-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +16659 -15146
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +653 -70
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +5 -2
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +883 -235
- package/harness-core/index.d.ts +372 -9
- package/package.json +1 -1
- package/src/actions-core/element-actions.ts +6 -0
- package/src/data-core/placeholder-rows.ts +29 -4
- package/src/design-core/brand-neutrals.ts +125 -3
- package/src/design-core/colour-words.ts +48 -0
- package/src/design-core/design-settings.ts +24 -5
- package/src/design-core/design-token.model.ts +8 -0
- package/src/design-core/flavor-fixtures.generated.ts +272 -2
- package/src/design-core/flavor-spec.generated.ts +310 -40
- package/src/design-core/flavor-tokens.ts +5 -1
- package/src/design-core/menu-look.ts +23 -0
- package/src/design-core/node-classes.ts +39 -0
- package/src/design-core/public-api.ts +2 -0
- package/src/design-core/signature-move.ts +107 -0
- package/src/design-core/style-presets.ts +9 -3
- package/src/design-core/token-css.ts +59 -1
- package/src/forms-core/form-presets.ts +5 -2
- package/src/generation-core/body-mix.ts +41 -0
- package/src/generation-core/check-free.ts +17 -9
- package/src/generation-core/check-layout.ts +17 -7
- package/src/generation-core/colour-mix.ts +53 -3
- package/src/generation-core/compose-free.ts +7 -2
- package/src/generation-core/compose-site.ts +298 -78
- package/src/generation-core/composition.ts +320 -0
- package/src/generation-core/footer-mix.ts +202 -16
- package/src/generation-core/footer-sign-up.ts +51 -0
- package/src/generation-core/free-opening.ts +13 -2
- package/src/generation-core/free-wire.ts +8 -0
- package/src/generation-core/header-edit.ts +15 -0
- package/src/generation-core/header-mix.ts +31 -2
- package/src/generation-core/legal.ts +24 -0
- package/src/generation-core/menu-shelves.ts +138 -0
- package/src/generation-core/nav-shape.ts +138 -15
- package/src/generation-core/node-baselines.generated.ts +1 -0
- package/src/generation-core/opening-edit.ts +17 -3
- package/src/generation-core/opening-mix.ts +69 -5
- package/src/generation-core/patterns.ts +7 -0
- package/src/generation-core/plan-wire.ts +23 -5
- package/src/generation-core/public-api.ts +3 -0
- package/src/generation-core/site-build-run.ts +11 -0
- package/src/generation-core/site-plan.model.ts +6 -0
- package/src/generation-core/site-spec.generated.ts +472 -166
- package/src/generation-core/type-led.ts +4 -2
- package/src/generation-core/validate-site-plan.ts +4 -1
- package/src/harness-core/business-types.ts +31 -0
- package/src/harness-core/harness-spec.generated.ts +564 -56
- package/src/harness-core/motion.ts +19 -2
- package/src/harness-core/popup-stance.ts +56 -3
- package/src/harness-core/run-compose-context.ts +32 -6
- package/src/harness-core/starting-design.ts +15 -7
- package/styles/iox-design.css +35 -0
- package/styles/iox-forms.css +53 -0
package/actions-core/index.d.ts
CHANGED
|
@@ -135,6 +135,12 @@ declare const SERVER_ELEMENT_ACTION_TYPES: ReadonlySet<string>;
|
|
|
135
135
|
/** The Tier-A behaviour executors' dispatch set (A1c) — the engines branch on it beside
|
|
136
136
|
* DIALOG/SWIPER. Dialog actions have their own set; context/visibility stay in the legacy path. */
|
|
137
137
|
declare const BEHAVIOUR_ACTION_TYPES: ReadonlySet<string>;
|
|
138
|
+
/** FV1b (footer `holds.top`): a `scrollTo` with no target — or `self` — scrolls the PAGE to its top. The live engine's
|
|
139
|
+
* rule since A1c; ONE rule both renderers ask (the canvas joins once it builds against this version). */
|
|
140
|
+
declare function scrollsToPageTop(action: {
|
|
141
|
+
readonly type: string;
|
|
142
|
+
readonly target?: string | null;
|
|
143
|
+
}): boolean;
|
|
138
144
|
/** The toast action's dispatch set (premium M5) — the engines branch on it beside DIALOG / POPOVER. */
|
|
139
145
|
declare const TOAST_ACTION_TYPES: ReadonlySet<string>;
|
|
140
146
|
/** The item actions' dispatch set (T14) and what each does to its item — the engines branch on it beside
|
|
@@ -581,5 +587,5 @@ declare function popupMotionScale(level: string | null | undefined): number;
|
|
|
581
587
|
/** Still moves nothing: the popup fades (§6). */
|
|
582
588
|
declare function popupFadesOnly(level: string | null | undefined): boolean;
|
|
583
589
|
|
|
584
|
-
export { ACCOUNT_ACTION_TYPES, ArrivalTrigger, BEHAVIOUR_ACTION_TYPES, CONSENT_ACTION_TYPES, CONSENT_DELAY_MS, COUNT_UP_TRIGGERS, DIALOG_ACTION_TYPE_SET, DIALOG_CLOSING_ATTRIBUTE, DIALOG_EXIT_TIMEOUT_MS, DIALOG_OPENER_ACTION_TYPES, DIALOG_OPENER_TRIGGER, DIALOG_SELECTOR, DISSOLVE_ACTION, ELEMENT_ACTION_DESCRIPTORS, ELEMENT_ACTION_GROUP_ORDER, FORM_SUBMIT_ACTION_DESCRIPTORS, ITEM_ACTION_TYPES, OpenerAttribute, OverlayTurnKind, POPOVER_ACTION_TYPE_SET, POPOVER_NODE_TYPE, POPOVER_OPENER_ACTION_TYPES, POPUP_MEMORY_PREFIX, POPUP_RULES, POPUP_TURN_PREFIX, PopupMemoryStore, PopupNotDue, RevealOriginProperty, SCROLL_PROGRESS_TRIGGER, SERVER_ELEMENT_ACTION_TYPES, SHOP_ACTION_TYPES, SHOP_ENTITLEMENT, TOAST_ACTION_TYPES, actionOfferedUnder, addableActions, arrivalFired, cancelExit, closeDialogAnimated, decodePopupMemory, dialogDomId, dialogOpenerAttributes, dialogOpenersSelector, dialogTogglesClosed, encodePopupMemory, focusDialogSheet, groupedElementActions, holdClosedWhile, isExiting, isQuietRoute, itemActionOf, memoryKeepsAway, nodeIdOfDialogDomId, nodeIdOfPopoverDomId, openedDialogId, openedPopoverId, openedTargetId, opensAtClickedItem, overlayTurn, planConsentArrival, planPopupArrival, popoverDomId, popoverOpenerAttributes, popoverOpenersSelector, popupDue, popupEnded, popupFadesOnly, popupFormOn, popupMemoryKey, popupMemoryStore, popupMotionScale, popupOfTurn, popupVersionOf, popupWithinDates, resolveActionAvailability, revealFrom, revealOrigin, revealOriginStyle, runExitMotion, visitorDay };
|
|
590
|
+
export { ACCOUNT_ACTION_TYPES, ArrivalTrigger, BEHAVIOUR_ACTION_TYPES, CONSENT_ACTION_TYPES, CONSENT_DELAY_MS, COUNT_UP_TRIGGERS, DIALOG_ACTION_TYPE_SET, DIALOG_CLOSING_ATTRIBUTE, DIALOG_EXIT_TIMEOUT_MS, DIALOG_OPENER_ACTION_TYPES, DIALOG_OPENER_TRIGGER, DIALOG_SELECTOR, DISSOLVE_ACTION, ELEMENT_ACTION_DESCRIPTORS, ELEMENT_ACTION_GROUP_ORDER, FORM_SUBMIT_ACTION_DESCRIPTORS, ITEM_ACTION_TYPES, OpenerAttribute, OverlayTurnKind, POPOVER_ACTION_TYPE_SET, POPOVER_NODE_TYPE, POPOVER_OPENER_ACTION_TYPES, POPUP_MEMORY_PREFIX, POPUP_RULES, POPUP_TURN_PREFIX, PopupMemoryStore, PopupNotDue, RevealOriginProperty, SCROLL_PROGRESS_TRIGGER, SERVER_ELEMENT_ACTION_TYPES, SHOP_ACTION_TYPES, SHOP_ENTITLEMENT, TOAST_ACTION_TYPES, actionOfferedUnder, addableActions, arrivalFired, cancelExit, closeDialogAnimated, decodePopupMemory, dialogDomId, dialogOpenerAttributes, dialogOpenersSelector, dialogTogglesClosed, encodePopupMemory, focusDialogSheet, groupedElementActions, holdClosedWhile, isExiting, isQuietRoute, itemActionOf, memoryKeepsAway, nodeIdOfDialogDomId, nodeIdOfPopoverDomId, openedDialogId, openedPopoverId, openedTargetId, opensAtClickedItem, overlayTurn, planConsentArrival, planPopupArrival, popoverDomId, popoverOpenerAttributes, popoverOpenersSelector, popupDue, popupEnded, popupFadesOnly, popupFormOn, popupMemoryKey, popupMemoryStore, popupMotionScale, popupOfTurn, popupVersionOf, popupWithinDates, resolveActionAvailability, revealFrom, revealOrigin, revealOriginStyle, runExitMotion, scrollsToPageTop, visitorDay };
|
|
585
591
|
export type { ActionAvailability, ActionAvailabilityContext, ActionAvailabilityState, ActionDescriptor, ActionGroup, ActionKind, ActionParamSpec, ActionTargetSpec, AnimateLevel, ArrivalEnv, ArrivalPlan, ArrivalProgress, BuilderBehaviour, DialogElementLike, ExitAnimationLike, ExitMotionElement, ExitMotionOptions, FocusableSheet, OpenerActionLike, OpenerInteractionLike, OpenerNodeLike, OverlayState, OverlayTurn, PopupMemory, RevealClosingMarker, RevealDialogLike, RevealOpenerLike, RevealOriginOptions, RevealOriginPoint, RevealRect, RevealStyled, RouteInfo };
|
package/data-core/index.d.ts
CHANGED
|
@@ -399,7 +399,8 @@ declare function hasHomeConflict(pages: ReadonlyArray<HomePageCandidate | null |
|
|
|
399
399
|
*
|
|
400
400
|
* - `isNumberedPlaceholderTitle` — words and then a number (G-D1). The Publishable gate reads it as well.
|
|
401
401
|
* - `isPlaceholderRow(row, titleField)` — a row marked `isSample` whose title is such a placeholder.
|
|
402
|
-
* - `listTitleField(list)` — the field a list's card shows as its title
|
|
402
|
+
* - `listTitleField(list)` — the field a list's card shows as its title; `listPlaceholderFields(list)` — that, else
|
|
403
|
+
* the fields a list with no title shows (a quote slider's person line, engine#41).
|
|
403
404
|
* - `planPlaceholderHides(roots, resolved)` — what the live engine leaves out (G-D3): placeholder rows are dropped,
|
|
404
405
|
* a list with no live row is not drawn, and its top-level section hides when only its frame is left (heading,
|
|
405
406
|
* eyebrow, lead text, buttons). Pages and their nav links stay (G-D4).
|
|
@@ -420,7 +421,7 @@ declare function isNumberedPlaceholderTitle(title: string | null | undefined): b
|
|
|
420
421
|
* out. `titleField` is the list's title field (`listTitleField`); without one the row's `title` / `name` / `label` is
|
|
421
422
|
* read. A row with no title to read is never a placeholder: when in doubt, show it.
|
|
422
423
|
*/
|
|
423
|
-
declare function isPlaceholderRow(row: unknown, titleField?: string | null): boolean;
|
|
424
|
+
declare function isPlaceholderRow(row: unknown, titleField?: string | ReadonlyArray<string> | null): boolean;
|
|
424
425
|
/** The node fields the plan reads — a saved layout node (builder serializer shape) or a live ComponentNode. */
|
|
425
426
|
interface PlaceholderPlanNode {
|
|
426
427
|
id?: string;
|
|
@@ -447,6 +448,13 @@ declare function listSourceOf(node: PlaceholderPlanNode | null | undefined): str
|
|
|
447
448
|
* Nested lists are not looked into.
|
|
448
449
|
*/
|
|
449
450
|
declare function listTitleField(list: PlaceholderPlanNode | null | undefined): string | null;
|
|
451
|
+
/**
|
|
452
|
+
* The fields a list's rows are judged by (engine#41): its title field (`listTitleField`) when it names one, else every
|
|
453
|
+
* field its own parts SHOW as words (a quote slider's quote and person — the person line "Guest 1" is the sample's
|
|
454
|
+
* unnamed line), else `null` (then `isPlaceholderRow` falls back to title / name / label). Nested lists are not looked
|
|
455
|
+
* into. ONE reading for the live rule and the builder's ghost rows.
|
|
456
|
+
*/
|
|
457
|
+
declare function listPlaceholderFields(list: PlaceholderPlanNode | null | undefined): string | string[] | null;
|
|
450
458
|
/**
|
|
451
459
|
* The node types that are only a list section's FRAME (G-D3): its heading, eyebrow, lead text, buttons, links, icons
|
|
452
460
|
* and the boxes around them. A section left with only these hides with its list. Anything else (a picture, a video, a
|
|
@@ -488,5 +496,5 @@ interface PlaceholderHidden<N> {
|
|
|
488
496
|
*/
|
|
489
497
|
declare function applyPlaceholderHides<N extends PlaceholderPlanNode>(roots: ReadonlyArray<N> | null | undefined, resolved: Readonly<Record<string, unknown>> | null | undefined): PlaceholderHidden<N>;
|
|
490
498
|
|
|
491
|
-
export { DataSourceSortDir, HOME_PAGE_LIVE_STATUS, LIST_FRAME_MAX_TEXTS, LIST_FRAME_TYPES, LIST_NODE_TYPES, PLACEHOLDER_TITLE_FALLBACK_FIELDS, RESERVED_ALIAS_PREFIX, SAMPLE_ROW_FIELD, SORT_PARAM, applyPlaceholderHides, buildDataSourceFilter, buildRelatedFilter, collectReferencedAliases, computeRelative, dataSourcePlanToRequest, excludeSelf, getByPath, hasHomeConflict, homePageOf, isNumberedPlaceholderTitle, isPlaceholderRow, isReservedAlias, listSourceOf, listTitleField, matchRouteParams, normalizeCollectionResult, planDataSource, planPlaceholderHides, referencedDataSources, referencedDataSourcesDeep, resolveDerivedInto, resolveRelativeInto, resolveRepeaterItems, resolveSiblings, resolveSingleItemId, sortParamValue, variableAliases, variableItemsFrom };
|
|
499
|
+
export { DataSourceSortDir, HOME_PAGE_LIVE_STATUS, LIST_FRAME_MAX_TEXTS, LIST_FRAME_TYPES, LIST_NODE_TYPES, PLACEHOLDER_TITLE_FALLBACK_FIELDS, RESERVED_ALIAS_PREFIX, SAMPLE_ROW_FIELD, SORT_PARAM, applyPlaceholderHides, buildDataSourceFilter, buildRelatedFilter, collectReferencedAliases, computeRelative, dataSourcePlanToRequest, excludeSelf, getByPath, hasHomeConflict, homePageOf, isNumberedPlaceholderTitle, isPlaceholderRow, isReservedAlias, listPlaceholderFields, listSourceOf, listTitleField, matchRouteParams, normalizeCollectionResult, planDataSource, planPlaceholderHides, referencedDataSources, referencedDataSourcesDeep, resolveDerivedInto, resolveRelativeInto, resolveRepeaterItems, resolveSiblings, resolveSingleItemId, sortParamValue, variableAliases, variableItemsFrom };
|
|
492
500
|
export type { BuildRelatedFilterOptions, DataSourceDomain, DataSourceEndpoints, DataSourceMode, DataSourcePlan, DataSourceQueryFilter, DataSourceRequest, DataSourceRequestSpec, DataSourceRouteFilter, DataSourceSort, DataSourceSpec, HomePageAnswer, HomePageCandidate, PlaceholderHidden, PlaceholderHidePlan, PlaceholderPlanNode, RelativeInputs, RelativeSourceKind, RelativeSourceSpec, ResolveSiblingsOptions, RouteContext, SiblingsResult };
|