@vectoriox/iox-ui 5.201.0 → 5.202.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/design-core/index.d.ts +162 -5
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +216 -12
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +2665 -1299
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs +28 -12
- package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +85 -1
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +968 -263
- package/harness-core/index.d.ts +21 -13
- package/index.d.ts +50 -2
- package/package.json +1 -1
- package/src/design-core/brand-neutrals.ts +50 -7
- package/src/design-core/colour-words.ts +22 -5
- package/src/design-core/design-settings.ts +5 -0
- package/src/design-core/design-token.model.ts +3 -0
- package/src/design-core/flavor-fixtures.generated.ts +38 -2
- package/src/design-core/flavor-spec.generated.ts +143 -1
- package/src/design-core/flavor-tokens.ts +6 -2
- package/src/generation-core/check-free.ts +36 -16
- package/src/generation-core/colour-mix.ts +70 -14
- package/src/generation-core/compose-site.ts +139 -27
- package/src/generation-core/fallback-memory.ts +8 -5
- package/src/generation-core/footer-free.ts +439 -0
- package/src/generation-core/footer-mix.ts +130 -36
- package/src/generation-core/free-parts.ts +3 -0
- package/src/generation-core/free-slot-words.ts +3 -0
- package/src/generation-core/free-wire.ts +10 -2
- package/src/generation-core/layout-fingerprint.ts +6 -4
- package/src/generation-core/opening-mix.ts +61 -0
- package/src/generation-core/plan-wire.ts +1 -0
- package/src/generation-core/public-api.ts +1 -0
- package/src/generation-core/redesign-run.ts +45 -2
- package/src/generation-core/site-plan.model.ts +6 -0
- package/src/generation-core/site-spec.generated.ts +599 -22
- package/src/generation-core/validate-site-plan.ts +39 -1
- package/src/harness-core/business-types.ts +3 -1
- package/src/harness-core/harness-spec.generated.ts +24 -12
- package/src/harness-core/run-compose-context.ts +8 -1
- package/styles/iox-design.css +17 -5
package/harness-core/index.d.ts
CHANGED
|
@@ -1458,9 +1458,9 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1458
1458
|
readonly colour: {
|
|
1459
1459
|
readonly mood: "calm pastels and trust colours";
|
|
1460
1460
|
readonly swatches: readonly ["#0284C7", "#0E8A89", "#3B6939"];
|
|
1461
|
-
readonly never: readonly ["accent.flood", "rhythm.flood", "rhythm.alternate"];
|
|
1462
|
-
readonly say: readonly ["People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."];
|
|
1463
|
-
readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."];
|
|
1461
|
+
readonly never: readonly ["accent.flood", "rhythm.flood", "rhythm.alternate", "rhythm.flow"];
|
|
1462
|
+
readonly say: readonly ["People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light.", "People who come for care or advice read in a still room: the page's ground never changes colour under them as they scroll."];
|
|
1463
|
+
readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר.", "מי שמגיע לטיפול או לייעוץ קורא בחדר שקט: רקע הדף לא משנה את צבעו מתחתיו בזמן הגלילה."];
|
|
1464
1464
|
};
|
|
1465
1465
|
readonly fonts: "calming, readable";
|
|
1466
1466
|
readonly tone: "Gentle, plain, never salesy.";
|
|
@@ -1568,9 +1568,9 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1568
1568
|
readonly colour: {
|
|
1569
1569
|
readonly mood: "medical blue and white";
|
|
1570
1570
|
readonly swatches: readonly ["#0E7490", "#0284C7", "#1E3A8A"];
|
|
1571
|
-
readonly never: readonly ["accent.flood", "rhythm.flood", "rhythm.alternate"];
|
|
1572
|
-
readonly say: readonly ["People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."];
|
|
1573
|
-
readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."];
|
|
1571
|
+
readonly never: readonly ["accent.flood", "rhythm.flood", "rhythm.alternate", "rhythm.flow"];
|
|
1572
|
+
readonly say: readonly ["People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light.", "People who come for care or advice read in a still room: the page's ground never changes colour under them as they scroll."];
|
|
1573
|
+
readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר.", "מי שמגיע לטיפול או לייעוץ קורא בחדר שקט: רקע הדף לא משנה את צבעו מתחתיו בזמן הגלילה."];
|
|
1574
1574
|
};
|
|
1575
1575
|
readonly fonts: "professional, readable";
|
|
1576
1576
|
readonly tone: "Clear and plain; what you treat, how to book.";
|
|
@@ -1680,9 +1680,9 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
1680
1680
|
readonly colour: {
|
|
1681
1681
|
readonly mood: "fresh blue, white, a touch of yellow";
|
|
1682
1682
|
readonly swatches: readonly ["#0284C7", "#0E7490", "#0E8A89"];
|
|
1683
|
-
readonly never: readonly ["accent.flood", "rhythm.flood", "rhythm.alternate"];
|
|
1684
|
-
readonly say: readonly ["People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."];
|
|
1685
|
-
readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."];
|
|
1683
|
+
readonly never: readonly ["accent.flood", "rhythm.flood", "rhythm.alternate", "rhythm.flow"];
|
|
1684
|
+
readonly say: readonly ["People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light.", "People who come for care or advice read in a still room: the page's ground never changes colour under them as they scroll."];
|
|
1685
|
+
readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר.", "מי שמגיע לטיפול או לייעוץ קורא בחדר שקט: רקע הדף לא משנה את צבעו מתחתיו בזמן הגלילה."];
|
|
1686
1686
|
};
|
|
1687
1687
|
readonly fonts: "friendly, professional";
|
|
1688
1688
|
readonly tone: "Reassuring, plain.";
|
|
@@ -2740,9 +2740,9 @@ declare const SPEC_BUSINESS_TYPES: readonly [{
|
|
|
2740
2740
|
readonly colour: {
|
|
2741
2741
|
readonly mood: "navy, gold, white";
|
|
2742
2742
|
readonly swatches: readonly ["#1E3A8A", "#111827", "#7A5B36"];
|
|
2743
|
-
readonly never: readonly ["accent.flood", "rhythm.flood", "rhythm.alternate"];
|
|
2744
|
-
readonly say: readonly ["People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light."];
|
|
2745
|
-
readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר."];
|
|
2743
|
+
readonly never: readonly ["accent.flood", "rhythm.flood", "rhythm.alternate", "rhythm.flow"];
|
|
2744
|
+
readonly say: readonly ["People who come for care or advice need calm: no section after section in full colours, no grounds flipping dark and light.", "People who come for care or advice read in a still room: the page's ground never changes colour under them as they scroll."];
|
|
2745
|
+
readonly sayHe: readonly ["מי שמגיע לטיפול או לייעוץ צריך שקט: בלי אזור אחרי אזור בצבעים מלאים, בלי רקעים שמתחלפים כהה ובהיר.", "מי שמגיע לטיפול או לייעוץ קורא בחדר שקט: רקע הדף לא משנה את צבעו מתחתיו בזמן הגלילה."];
|
|
2746
2746
|
};
|
|
2747
2747
|
readonly fonts: "professional, authoritative";
|
|
2748
2748
|
readonly tone: "Formal, exact, no promises you cannot keep.";
|
|
@@ -3871,9 +3871,14 @@ interface BusinessType {
|
|
|
3871
3871
|
readonly match: ReadonlyArray<string>;
|
|
3872
3872
|
/** The styles that suit it, best first, each with why. */
|
|
3873
3873
|
readonly good: ReadonlyArray<GoodFit>;
|
|
3874
|
+
/** Colour v2 CV2: its mood and swatches, and (H1) the colour words its site NEVER wears (`<ingredient>.<word>`, harness
|
|
3875
|
+
* `COLOUR_NEVER`) with the sentences saying why — told to the model and mended at build (`checkColour`, CV5). */
|
|
3874
3876
|
readonly colour: {
|
|
3875
3877
|
readonly mood: string;
|
|
3876
3878
|
readonly swatches: ReadonlyArray<string>;
|
|
3879
|
+
readonly never?: ReadonlyArray<string>;
|
|
3880
|
+
readonly say?: ReadonlyArray<string>;
|
|
3881
|
+
readonly sayHe?: ReadonlyArray<string>;
|
|
3877
3882
|
};
|
|
3878
3883
|
readonly fonts: string;
|
|
3879
3884
|
readonly tone: string;
|
|
@@ -5120,6 +5125,9 @@ interface ComposeRun {
|
|
|
5120
5125
|
tier?: `${GenerationTier}` | null;
|
|
5121
5126
|
decisions?: BuildComposeDecisions | null;
|
|
5122
5127
|
pictures?: PictureSupply | null;
|
|
5128
|
+
/** iox-ui#192: the organization the site is built for — seeds the choices a site makes for itself (the way its picture
|
|
5129
|
+
* Home opens). iox-cms passes the run's organization. */
|
|
5130
|
+
seed?: string | null;
|
|
5123
5131
|
}
|
|
5124
5132
|
/**
|
|
5125
5133
|
* What the composer takes from the reading's kind of business (award §7.1g, AW12):
|
|
@@ -5134,7 +5142,7 @@ interface ComposeRun {
|
|
|
5134
5142
|
* ceiling and the preloaders it refuses — design-core `withSignatureMove` signs the look (none under little movement).
|
|
5135
5143
|
* An unknown or absent type gives nothing: the composer's defaults hold. (`calm` stays `composeContextOf`'s own argument.)
|
|
5136
5144
|
*/
|
|
5137
|
-
declare function businessComposeContext(typeId: string | null | undefined, decisions?: Pick<BuildComposeDecisions, 'picturesRefused' | 'ownPhotos' | 'layoutPhotos' | 'littleMovement'> | null): Pick<ComposeContext, 'businessType' | 'footerNever' | 'headerNever' | 'opening' | 'signature' | 'footerSignUp'>;
|
|
5145
|
+
declare function businessComposeContext(typeId: string | null | undefined, decisions?: Pick<BuildComposeDecisions, 'picturesRefused' | 'ownPhotos' | 'layoutPhotos' | 'littleMovement'> | null): Pick<ComposeContext, 'businessType' | 'footerNever' | 'headerNever' | 'opening' | 'signature' | 'footerSignUp' | 'colourNever'>;
|
|
5138
5146
|
/**
|
|
5139
5147
|
* Pictures first: can a picture come for the Home's opening? Never when the owner ruled pictures out; the owner's own photo
|
|
5140
5148
|
* always can; else stock, where the kind of business lets stock stand in (`BusinessType.stock` — never the work itself) and
|
package/index.d.ts
CHANGED
|
@@ -3181,6 +3181,54 @@ declare function heldFrames(frames: ReadonlyArray<InteractionKeyframe>, distance
|
|
|
3181
3181
|
*/
|
|
3182
3182
|
declare function attachScrollProgress(owner: HTMLElement, interaction: ScrollProgressInteraction, host: ScrollProgressHost): () => void;
|
|
3183
3183
|
|
|
3184
|
+
/**
|
|
3185
|
+
* THE COLOUR FLOW (colour-v2-plan.md §3c, H7 — CV5 `rhythm.flow`): the page's held ground changes colour as the page
|
|
3186
|
+
* scrolls, with no section edge (daylight: the light changes, the palette doesn't; landonorris: the ground moves under the
|
|
3187
|
+
* page). The ONE runtime both renderers use; the decision is the look's tokens:
|
|
3188
|
+
*
|
|
3189
|
+
* - `--iox-flow-stops` — how many layers lie under the page (design-core `flowStopsOf`: one per stop when the look flows
|
|
3190
|
+
* and the Speed is not Off; the token sheet's reduced-motion block writes 0 — a flat ground). 0 lays nothing.
|
|
3191
|
+
* - `--iox-flow-1` … — each stop's paint: the accent mixed into the ground, all on ONE sRGB segment (colour.mjs
|
|
3192
|
+
* COLOUR_FLOW_STOPS), so every blend the crossfade shows lies on it and the held words read at every moment.
|
|
3193
|
+
*
|
|
3194
|
+
* The layers stand fixed under the page (z-index -1, `aria-hidden`, never a pointer); the page's own ground is the first
|
|
3195
|
+
* stop. They ride the runtime's ONE ScrollDriver over the whole page (`ScrollRange.Page`) and only their OPACITY is
|
|
3196
|
+
* written — a compositor property, in the driver's write phase, damped by it (Emil: transform / opacity only, nothing that
|
|
3197
|
+
* can fire twice keyframed). Nothing here dispatches a DOM `scroll`.
|
|
3198
|
+
*/
|
|
3199
|
+
declare const COLOUR_FLOW_CLASS = "iox-colour-flow";
|
|
3200
|
+
/** The token the runtime reads: how many flow layers to lay (design-core `FLOW_STOPS_TOKEN`). */
|
|
3201
|
+
declare const FLOW_STOPS_PROPERTY = "--iox-flow-stops";
|
|
3202
|
+
/** A stop's paint token, 1-based. */
|
|
3203
|
+
declare const flowStopProperty: (stop: number) => string;
|
|
3204
|
+
/** Never more layers than this, whatever a hand-edited token says. */
|
|
3205
|
+
declare const COLOUR_FLOW_MAX_STOPS = 6;
|
|
3206
|
+
/** The token's value as a layer count: a whole number from 0 to COLOUR_FLOW_MAX_STOPS, anything else 0. Pure. */
|
|
3207
|
+
declare function flowStopsIn(value: string | null | undefined): number;
|
|
3208
|
+
/**
|
|
3209
|
+
* Each layer's opacity at a page `progress` (0–1): the page is cut into `stops` equal stretches and stretch k fades layer
|
|
3210
|
+
* k in over the one below it — the ground at the top, the last stop at the foot. Pure.
|
|
3211
|
+
*/
|
|
3212
|
+
declare function colourFlowOpacities(progress: number, stops: number): number[];
|
|
3213
|
+
interface ColourFlowHost {
|
|
3214
|
+
/** The runtime instance's ONE driver: the same one its Scenes ride — or the way to get it, asked only when the page
|
|
3215
|
+
* flows (a page that holds still never makes a driver for it). */
|
|
3216
|
+
driver: ScrollDriver | (() => ScrollDriver);
|
|
3217
|
+
/** What `ScrollRange.Page` measures: the document's root on the site. */
|
|
3218
|
+
page: HTMLElement;
|
|
3219
|
+
/** Where the layers go, first child (default: the page's `<body>`). */
|
|
3220
|
+
mount?: HTMLElement;
|
|
3221
|
+
/** Defaults to what the visitor's device asks for. */
|
|
3222
|
+
env?: {
|
|
3223
|
+
reducedMotion: boolean;
|
|
3224
|
+
};
|
|
3225
|
+
}
|
|
3226
|
+
/**
|
|
3227
|
+
* Lay the flow under the page and let the driver move it. Returns the way to let go (the layers removed, the link gone).
|
|
3228
|
+
* Nothing is laid when the look holds still (`--iox-flow-stops` 0), under reduced motion, or with no document.
|
|
3229
|
+
*/
|
|
3230
|
+
declare function attachColourFlow(host: ColourFlowHost): () => void;
|
|
3231
|
+
|
|
3184
3232
|
/**
|
|
3185
3233
|
* What an element's interactions say about its FIRST paint (premium components M6) — attributes every renderer writes
|
|
3186
3234
|
* from the saved node, so the raw SSR, the component path and the canvas agree before any script runs:
|
|
@@ -5123,5 +5171,5 @@ declare function formToastsOnSend(form: Element | null | undefined): boolean;
|
|
|
5123
5171
|
/** Raise the form's Sent toast (from the form — its scope and its look). */
|
|
5124
5172
|
declare function raiseFormToast(form: Element): ToastHandle | null;
|
|
5125
5173
|
|
|
5126
|
-
export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DISSOLVE_GROW_DEFAULT, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, IMAGE_DEFAULT_CSS, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, dissolveGrowOf, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, groundHeadersIn, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerHeightScopeOf, headerShouldHide, heldFrames, hideFromTopLayer, hidingHeadersIn, holdsOnScreen, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageLanguageOf, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderHeight, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
|
|
5127
|
-
export type { A11yNodeSource, AnimateActionOptions, BoundStyleTarget, BoundValueSpec, BreakpointDef, ContextActionEffect, ContextActionLike, ContextItemRef, ContextSlotDefault, ContextValueSpec, ContextWriteScope, CountTarget, CoverPanelContext, CurrentLinkOptions, DatePickerOptions, FloatingLayerOptions, FloatingOptions, FloatingPlacement, FloatingRect, FloatingSize, FloatingViewport, FormMessageResolver, GalleryBoundSource, GalleryDurations, GalleryEffect, GalleryEffectDescriptor, GalleryImage, GalleryLoopOptions, GalleryLoopScheduler, GalleryLoopState, GallerySlideState, HeaderRuntimeOptions, IBuilderEventEmitter, InlineEditableNode, InputMap, InteractionKeyframe, IoxContextSlot, IoxPipe, LayerFrame, MatchMediaHost, NodeA11yContext, OverrideBreakpoint, PageCoverSpec, PageScrollStart, PageStyleFieldState, PageStyleOptions, PageStyleSettings, PageTransitionCategory, PageTransitionCategoryMeta, PageTransitionContext, PageTransitionOptions, PageTransitionPreset, PipeArgSpec, PipeContext, PipeDescriptor, PlannedPageTransition, PopoverCloseOptions, PopoverOpenOptions, PopupOverlayState, PopupRuntimeOptions, PreloaderContent, PreloaderPreviewOptions, PreloaderRunOptions, PressAction, RegisteredField, ResolvedPageCover, ResolvedPageTransition, ResponsiveLayer, ResponsiveOverrides, ResponsiveRuleSet, RouteAnimationLike, ScrollPlanContext, ScrollProgressAction, ScrollProgressHost, ScrollProgressInteraction, ScrollSource, SeoDerivedContent, SeoFieldSource, SeoFieldState, SeoResolveContext, SetContextParams, SettleOptions, SliderBootOptions, SliderControlElements, SliderInputs, StateRulePlan, StateScope, StateStyleMap, StringFormOptions, StyleMap, StyleTreeNode, SwiperBreakpointMap, SwiperModuleFlags, SwiperPlan, SwiperPlanContext, ToastHandle, ToastOptions, ToggleableAction, TooltipRuntimeOptions, TooltipTimingState, TransitionFeel, TransitionPhase, TransitionPreviewLayers, TransitionTimelineInput, TransitionViewport, ValueSource, VirtualTraitGroup };
|
|
5174
|
+
export { A11yAttribute, A11yTrait, ACCESSIBLE_NAME_TYPES, AOSService, ARIA_CURRENT_PAGE, BACKDROP_TWIN_KEY, BACKDROP_WHOLE_KEY, BLUR_IN_START_PX, BOUND_STYLE_PREFIX, BREAKPOINTS, Breakpoint, BreakpointQueryKind, BuilderButtonComponent, BuilderDividerComponent, BuilderHeadingComponent, BuilderIconComponent, BuilderImageComponent, BuilderLinkComponent, BuilderSpacerComponent, ButtonBlockComponent, CALENDAR_CLOSING_ATTRIBUTE, CALENDAR_DESIGN_ATTRIBUTE, CALENDAR_INSTANT_ATTRIBUTE, CALENDAR_SHEET_QUERY, COLOUR_FLOW_CLASS, COLOUR_FLOW_MAX_STOPS, COMPONENT_STATE_SELECTOR, CONTAINER_HTML_TAGS, CONTEXT_ACTION_TYPES, COUNT_ATTRIBUTE, COUNT_DEFAULT_MS, COUNT_MAX_MS, COUNT_UP_ACTION, CURRENT_LINK_TYPES, CalendarClass, CardComponent, ClientGalleryComponent, ClientListComponent, ClientListItemComponent, ClientRepeaterComponent, ClientSliderContainerComponent, ClientSliderSlideComponent, ComponentInstanceRegistryService, ComponentState, ContainerComponent, ContextStore, CoverPaint, DECORATIVE_ROLES, DECORATIVE_TYPES, DEFAULT_GALLERY_SCHEDULER, DEFAULT_INTERACTION_EASING, DEFAULT_PAGE_TRANSITION, DEFAULT_PAGE_TRANSITION_DURATION, DEFAULT_PAGE_TRANSITION_EASING, DEFAULT_PAGE_TRANSITION_PERSPECTIVE, DEFAULT_PHOSPHOR_WEIGHT, DEFAULT_WIDTH_BY_TYPE, DEPTH_CLIP_ATTRIBUTE, DIALOG_CLOSE_ABOVE_ATTRIBUTE, DIALOG_NODE_TYPE, DISSOLVE_GROW_DEFAULT, DatePickerRuntime, DeclarationContext, EASING_KEYWORDS, EASING_TOKENS, ENTRANCE_ACTION_TYPES, ENTRANCE_FALLBACK_CSS, ENTRANCE_NOSCRIPT_CSS, ENTRANCE_PRESTATE_ATTRIBUTE, EXIT_ACTION_TYPES, EasingKeyword, EasingToken, FLOATING_GAP, FLOATING_LAYER_CLASS, FLOATING_MARGIN, FLOATING_SHEET_QUERY, FLOW_STOPS_PROPERTY, FloatingAlign, FloatingSide, FormRenderState, FormRuntimeService, GALLERY_EFFECTS, GALLERY_EFFECT_DESCRIPTORS, GalleryLoop, HEADER_SCROLL_HYSTERESIS_PX, HOVER_DEFAULT_TRANSITION_TRAITS, HOVER_MEDIA_QUERY, HOVER_STATES, HeaderInkRuntime, HeaderRuntime, IMAGE_DEFAULT_CSS, INTERACTION_ANIMATION_ID, INTERACTION_HIDDEN_ATTRIBUTE, INTERACTION_MARKER_ATTRIBUTES, IOX_BUILDER_EVENTS, IOX_FORM_MESSAGES, IOX_FORM_NAVIGATOR, IOX_FORM_TRANSPORT, IS_PREVIEW, InlineEditEvent, IoxAnimateContainer, IoxAosDirective, IoxAosModule, IoxBuilderComponentsModule, IoxComponentRegistryService, IoxDialogComponent, IoxFieldComponent, IoxFormComponent, IoxFormErrorComponent, IoxFormSuccessComponent, IoxPageComponent, IoxPageModule, IoxPopoverComponent, IoxSubmitButtonComponent, IoxUiModule, IoxVideoComponent, LAST_EMITTED_STATES, LEGACY_DIRECTION_KEY, LEGACY_HOVER_TRANSITION_TRAITS, LEGACY_SWIPER_CONTROLS, LIST_GROUND_PIPE, LIST_INK_PIPE, LinkedContainerComponent, MANAGED_A11Y_ATTRIBUTES, MAX_LINES_KEY, NAMED_GROUP_ROLES, NO_PAGE_TRANSITION, ON_STATE_ROLES, OUTER_STYLE_PROPS, PAGE_LEAVE_RATIO, PAGE_STYLE_TOKENS, PAGE_TOKEN_FALLBACKS, PAGE_TRANSITION_CATEGORIES, PAGE_TRANSITION_PRESETS, PART_CLASS_NAMES, PART_PAGINATION_MODIFIER, PHONE_TRANSITION_QUERY, PIPE_DESCRIPTORS, PIPE_REGISTRY, POPOVER_SELECTOR, POPUP_ANNOUNCE_ATTRIBUTE, POPUP_SCALE_PROPERTY, POPUP_SELECTOR, POPUP_STILL_ATTRIBUTE, PRELOADER_AT_ATTRIBUTE, PRELOADER_CLASS, PRELOADER_CSS, PRELOADER_END_EVENT, PRELOADER_RUN_ATTRIBUTE, PRELOADING_ATTRIBUTE, PROGRESS_ATTRIBUTE, PageScrollProvider, PageStyleField, PageStyleSource, PausableTimer, PauseReason, PointerKind, PopoverAttribute, PopupRuntime, REDUCED_ENTRANCE_FRAMES, REDUCED_MOTION_QUERY, REDUCED_PAGE_LEAVE, RELATIONAL_STATE_PSEUDO, RevealActionType, SCROLLBARS_TAKE_WIDTH_CLASS, SCROLLED_ATTRIBUTE, SCROLLED_STATE_ROLE, SCROLLED_THRESHOLD_PX, SCROLL_ANIMATION_ID, SCROLL_EASINGS, SELF_PLAYING_TRIGGERS, SHAKE_DURATION_MS, SHAKE_EASING, SHAKE_KEYFRAMES, SLIDER_CARDS, SLIDER_FAN, SLIDER_FEEL, SLIDER_INPUTS_ATTRIBUTE, SLIDER_INPUT_NAMES, SLIDER_PHONE_BREAKPOINT, SLIDER_RUNWAY_CLASS, SLIDER_STEPS_PROPERTY, SLIDE_CAPTION_ATTRIBUTE, STATE_PSEUDO_CLASS, STRUCTURAL_STATES, SUPPRESSED_STYLE_PROPS_BY_TYPE, SWIPER_A11Y_OPTIONS, SWIPER_RESPONSIVE_TRAITS, SWIPER_TRIGGER_EVENTS, ScrollActionType, ScrollEasing, SectionComponent, SettleMode, SliderCreativePreset, StringFormRuntime, SwiperModuleName, TARGETED_STATE_SUFFIX, TEXT_ALIGN_KEY, TEXT_DIRECTION_KEY, TOAST_DESIGN_ATTRIBUTE, TOAST_EDGE_ATTRIBUTE, TOAST_FIRST_LANDS_MS, TOAST_MAX_MS, TOAST_MAX_VISIBLE, TOAST_MIN_MS, TOAST_MS_PER_CHAR, TOOLTIP_ATTRIBUTE, TOOLTIP_FIRST_DELAY_MS, TOOLTIP_HIDE_GRACE_MS, TOOLTIP_INSTANT_ATTRIBUTE, TOOLTIP_PINNED_ATTRIBUTE, TOOLTIP_PLACEMENT_ATTRIBUTE, TOOLTIP_SIDE_ATTRIBUTE, TOOLTIP_TYPES, TOOLTIP_WARM_MS, TRANSITION_FEELS, TRANSITION_PROPERTY_KEY, TextAlign, TextBlockComponent, ToastClass, ToastEdge, TooltipClass, TooltipRuntime, VALIDATION_STATES, VALIDATION_STATE_CLASS, VIRTUAL_TRAIT_GROUPS, VIRTUAL_TRAIT_KEYS, ViewPositionDirective, ViewPositionModule, VisibilityActionType, activeActions, afterPreloader, animateAction, applyBindingPipes, applyBoundStyle, applyBoundStyles, applyFeel, armCountUp, armInteractionCounts, attachColourFlow, attachDatePicker, attachDatePickers, attachScrollProgress, attachStringForm, attachTooltips, bootSlider, boundStyleCss, boundStyleEntries, boundStyleOf, breakpointDef, breakpointForWidth, breakpointQueryFor, buildInteractionKeyframes, buildPartSelector, buildPreloaderLayer, buildSwiperBreakpoints, buildTargetedStateSelector, buildTargetedSuffixSelector, buildTransitionTimeline, canPopover, cascadeChain, clearInputOverride, clearOverride, clearToasts, closeAboveMediaQuery, closeAllPopovers, closePopover, collectContextSlotKeys, colourFlowOpacities, commitInlineEdit, compileDeclarations, compilePageStyle, componentStatesFor, composeVirtualTraits, containerHtmlTag, contextActionEffect, contextSlotKeys, countDuration, countIsReadable, countLocaleOf, countOverrides, countValueAt, coverPanelStyle, createCoverPanel, datePickerOf, declaredInputNames, decomposeBackdropFilter, defaultHoverTransitionTraits, defaultMessageResolver, deriveSeoFromContent, describePageStyle, describeSeoFields, dialogCloseAboveMinWidth, directionalFrames, dissolveGrowOf, domHasSliderParts, durationMs, effectiveActionType, effectiveTransitionId, ensurePreloaderStyles, entrancePreStateStyle, entranceStartsHidden, fanMiddle, feelFor, fieldLanguage, finalKeyframe, firstScreenReadiness, floatingLayer, floatingScope, flowStopProperty, flowStopsIn, formSentWords, formToastsOnSend, formatCount, framesFromLiveValue, gateHoverRule, getSeoValue, groundHeadersIn, hasCounted, hasHoverState, hasOwnPageTransition, hasOwnTransition, headerHeightScopeOf, headerShouldHide, heldFrames, hideFromTopLayer, hidingHeadersIn, holdsOnScreen, initialSlotValues, inkFollowingHeadersIn, interactionMarkerAttributes, isActionEnabled, isBoundProp, isBoundStyleProp, isContextAction, isCubicBezier, isCurrentLink, isEasingToken, isExternalOrFragment, isGradientPaint, isHoverPointer, isHoverState, isInputOverriddenAt, isInteractionEasing, isLastEmittedStateKey, isOpenPopover, isOperated, isOverriddenAt, isPopoverOpen, isPreloading, isPressFeedback, isScrolled, isStructuralState, isValidSlotKey, isWholeBackdropSet, keyframePropertyName, keyframeStyleEntries, layerFrame, legacyEnterToTransition, lookEaseOf, markScrollbarsTakeWidth, mediaQueryFor, mergeSwiperBreakpoints, migrateLegacyDirection, migrateLegacyTextAlign, motionAllowed, mountPreloader, nearestCommonAncestorId, needsAccessibleName, needsGroupName, nodeA11yAttributes, nodeCssId, nodeTraitValue, nodeUsesContext, normalizeAppPath, normalizeGalleryImage, normalizeIconClass, openPopover, openingPictureOf, orderStatesForEmit, pageLanguageOf, pageTransitionOf, parentBreakpoint, parseCount, parseUrlList, partClassName, placeFloating, placePopover, planPartRule, planResponsiveRules, planScroll, planStateRule, planSwiperOptions, playCountUp, playDualLayerTransition, playInteraction, playPreloaderPreview, playsOnScroll, popoverPanelAttributes, popoverSide, popupAttributeGetter, popupIdOf, prefersReducedMotion, preloaderContentOf, preloaderHeadScript, raiseFloatingLayer, raiseFormToast, rectInLayer, reducedEntranceFades, reducedEntranceRun, renderDefaultDeclarations, resetPageStyleField, resetSeoField, resolveBoundValue, resolveContextValue, resolveGalleryEffect, resolveGalleryUrls, resolveInputChain, resolveInputs, resolveInteractionEasing, resolvePageTransition, resolvePath, resolveSeo, resolveStateStyles, resolveStyleProps, resolveToggleVisibility, resolveValueChain, restoreCountUp, rewriteViewportUnits, runPreloader, safeSetInput, scrollActionKind, scrollMotionEnv, scrollbarsTakeWidthScript, scrubUntilOf, serializeA11yAttributes, setDateFieldValue, setInputOverride, setOverride, setSeoAuto, setSeoBinding, setSeoOverride, setSeoValue, settleInteraction, settleModeFor, shakeElement, showCalendarDesign, showInTopLayer, showToast, showToastDesign, sliderControlElements, sliderInputsFromProps, sliderInputsOf, sliderRunwayHtml, splitOuterProps, splitPressFeedback, stateNamesIn, statePseudoClass, stateSelectorSuffix, stateTransitionProperties, stringFormRuntimeOf, stripSuppressedProps, swiperAutoplayAllowed, swiperLoopOptions, swiperModuleNames, syncInteractionMarkers, syncNodeA11yAttributes, syncSubmitButtons, targetedStateSelector, toLayerRect, toastDuration, toastEdge, toastsToEvict, togglePopover, tooltipSide, tooltipTiming, tooltipWords, tooltipsOf, transitionPropertyList, translateYOf, viewportTransitionContext, watchHeaderHeight, watchHeaderInk, watchHeaders, watchScrolled, withContextSlots, withPhoneDefaults, withStateTransitions, wrapInBreakpointQuery, wrapInMediaQuery };
|
|
5175
|
+
export type { A11yNodeSource, AnimateActionOptions, BoundStyleTarget, BoundValueSpec, BreakpointDef, ColourFlowHost, ContextActionEffect, ContextActionLike, ContextItemRef, ContextSlotDefault, ContextValueSpec, ContextWriteScope, CountTarget, CoverPanelContext, CurrentLinkOptions, DatePickerOptions, FloatingLayerOptions, FloatingOptions, FloatingPlacement, FloatingRect, FloatingSize, FloatingViewport, FormMessageResolver, GalleryBoundSource, GalleryDurations, GalleryEffect, GalleryEffectDescriptor, GalleryImage, GalleryLoopOptions, GalleryLoopScheduler, GalleryLoopState, GallerySlideState, HeaderRuntimeOptions, IBuilderEventEmitter, InlineEditableNode, InputMap, InteractionKeyframe, IoxContextSlot, IoxPipe, LayerFrame, MatchMediaHost, NodeA11yContext, OverrideBreakpoint, PageCoverSpec, PageScrollStart, PageStyleFieldState, PageStyleOptions, PageStyleSettings, PageTransitionCategory, PageTransitionCategoryMeta, PageTransitionContext, PageTransitionOptions, PageTransitionPreset, PipeArgSpec, PipeContext, PipeDescriptor, PlannedPageTransition, PopoverCloseOptions, PopoverOpenOptions, PopupOverlayState, PopupRuntimeOptions, PreloaderContent, PreloaderPreviewOptions, PreloaderRunOptions, PressAction, RegisteredField, ResolvedPageCover, ResolvedPageTransition, ResponsiveLayer, ResponsiveOverrides, ResponsiveRuleSet, RouteAnimationLike, ScrollPlanContext, ScrollProgressAction, ScrollProgressHost, ScrollProgressInteraction, ScrollSource, SeoDerivedContent, SeoFieldSource, SeoFieldState, SeoResolveContext, SetContextParams, SettleOptions, SliderBootOptions, SliderControlElements, SliderInputs, StateRulePlan, StateScope, StateStyleMap, StringFormOptions, StyleMap, StyleTreeNode, SwiperBreakpointMap, SwiperModuleFlags, SwiperPlan, SwiperPlanContext, ToastHandle, ToastOptions, ToggleableAction, TooltipRuntimeOptions, TooltipTimingState, TransitionFeel, TransitionPhase, TransitionPreviewLayers, TransitionTimelineInput, TransitionViewport, ValueSource, VirtualTraitGroup };
|
package/package.json
CHANGED
|
@@ -171,10 +171,16 @@ function groundsOf(p: Readonly<Record<string, string>>, names: ReadonlyArray<str
|
|
|
171
171
|
return [...new Set(out.map(upper))];
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
/** The grounds a held role is judged on — a flowing page (CV5) adds its segment wherever the page's paint is named. */
|
|
175
|
+
function heldGrounds(p: Readonly<Record<string, string>>, names: ReadonlyArray<string>, flow: boolean): string[] {
|
|
176
|
+
const grounds = groundsOf(p, names);
|
|
177
|
+
return flow && names.includes(PAGE) ? [...new Set([...grounds, ...flowGrounds(p)])] : grounds;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
function holdContrast(p: Record<string, string>, flow = false): void {
|
|
175
181
|
for (const [fg, names, min] of HELD_CONTRAST) {
|
|
176
|
-
if (parseHexColor(p[fg])) p[fg] = upper(ensureContrast(p[fg],
|
|
177
|
-
else if (RGBA.test(String(p[fg] ?? '').trim())) p[fg] = ensureAlpha(p[fg],
|
|
182
|
+
if (parseHexColor(p[fg])) p[fg] = upper(ensureContrast(p[fg], heldGrounds(p, names, flow), min));
|
|
183
|
+
else if (RGBA.test(String(p[fg] ?? '').trim())) p[fg] = ensureAlpha(p[fg], heldGrounds(p, names, flow), min);
|
|
178
184
|
}
|
|
179
185
|
}
|
|
180
186
|
|
|
@@ -292,6 +298,38 @@ export const COLOUR_WASHES: Readonly<Record<string, string>> = {
|
|
|
292
298
|
+ 'radial-gradient(50% 40% at 50% 100%, color-mix(in srgb, var(--iox-accent) 10%, transparent) 0%, transparent 70%), var(--iox-bg)',
|
|
293
299
|
};
|
|
294
300
|
|
|
301
|
+
/**
|
|
302
|
+
* CV5 (colour-v2-plan.md §3c, H7): `rhythm.flow` — the page's held ground changes colour as the page scrolls, with no
|
|
303
|
+
* section edge (daylight, landonorris). The page opens on its own ground and crossfades through these stops — the accent
|
|
304
|
+
* mixed into the ground, in percent — over the page's progress, on the ONE ScrollDriver (`attachColourFlow`, opacity
|
|
305
|
+
* only). Every stop lies on ONE sRGB segment from the ground to the last stop, so every blend the crossfade shows lies on
|
|
306
|
+
* it too. A flowing page is its own paint (FLOW_PAGE_PAINT: the wash and the look's own paint give way). Mirror of the
|
|
307
|
+
* contract's colour.mjs (derivationFixtures hold them equal).
|
|
308
|
+
*/
|
|
309
|
+
export const COLOUR_FLOW_STOPS: ReadonlyArray<number> = [8, 16];
|
|
310
|
+
/** How many points of the flow's segment the held roles are judged on, both ends included (sRGB luminance along a
|
|
311
|
+
* segment is convex: its darkest point may lie inside it). */
|
|
312
|
+
export const FLOW_SAMPLES = 9;
|
|
313
|
+
/** A flow stop's paint, role references only (the `flow-1` · `flow-2` component tokens). */
|
|
314
|
+
export const flowStopPaint = (share: number): string => `color-mix(in srgb, var(--iox-accent) ${share}%, var(--iox-bg))`;
|
|
315
|
+
/** The flat ground a flowing page is painted with under its layers. */
|
|
316
|
+
export const FLOW_PAGE_PAINT = 'var(--iox-bg)';
|
|
317
|
+
|
|
318
|
+
const mixRgb = (a: Rgb, b: Rgb, share: number): Rgb =>
|
|
319
|
+
({ r: a.r * share + b.r * (1 - share), g: a.g * share + b.g * (1 - share), b: a.b * share + b.b * (1 - share) });
|
|
320
|
+
|
|
321
|
+
/** The opaque colours a flowing page shows: FLOW_SAMPLES points from the ground to the last stop (8-bit). Empty when the
|
|
322
|
+
* ground or the accent is not a plain colour. Pure. */
|
|
323
|
+
export function flowGrounds(p: Readonly<Record<string, string>>): string[] {
|
|
324
|
+
const bg = parseHexColor(p['bg']);
|
|
325
|
+
const accent = parseHexColor(p['accent']);
|
|
326
|
+
if (!bg || !accent) return [];
|
|
327
|
+
const last = mixRgb(accent, bg, Math.max(...COLOUR_FLOW_STOPS) / 100);
|
|
328
|
+
const out: string[] = [];
|
|
329
|
+
for (let i = 0; i < FLOW_SAMPLES; i++) out.push(upper(toHexColor(mixRgb(last, bg, i / (FLOW_SAMPLES - 1)))));
|
|
330
|
+
return [...new Set(out)];
|
|
331
|
+
}
|
|
332
|
+
|
|
295
333
|
export interface FlavorColourChoices {
|
|
296
334
|
seed?: string | null;
|
|
297
335
|
tint?: TintId | null;
|
|
@@ -301,12 +339,15 @@ export interface FlavorColourChoices {
|
|
|
301
339
|
dark?: string | null;
|
|
302
340
|
/** CV3: `COLOUR.wash` — gradient · glow paint the page (`page-bg`, both modes); flat / absent: the flavor's own paint. */
|
|
303
341
|
wash?: string | null;
|
|
342
|
+
/** CV5: `rhythm.flow` — the page is painted flat and every held role clears the flow's segment (`flowGrounds`). */
|
|
343
|
+
flow?: boolean | null;
|
|
304
344
|
}
|
|
305
345
|
|
|
306
346
|
/**
|
|
307
347
|
* The colour tokens of a flavor for a brand `seed` and a background `tint`, light and dark.
|
|
308
348
|
* Neutral at the flavor's own seed returns its palette exactly. CV2: a ground or dark word writes its roles in the light
|
|
309
|
-
* block after the tint and before the accents (which are then held on the new grounds).
|
|
349
|
+
* block after the tint and before the accents (which are then held on the new grounds). CV5: `flow` paints the page flat
|
|
350
|
+
* and holds every role on the flow's segment too.
|
|
310
351
|
*/
|
|
311
352
|
export function flavorColours(flavor: ColourFlavor, choices: FlavorColourChoices): FlavorColours {
|
|
312
353
|
const seed = choices.seed || flavor.seed;
|
|
@@ -321,7 +362,9 @@ export function flavorColours(flavor: ColourFlavor, choices: FlavorColourChoices
|
|
|
321
362
|
if (grounded) Object.assign(palette.light, grounded);
|
|
322
363
|
if (darkened) Object.assign(palette.light, darkened);
|
|
323
364
|
// CV3: the wash paints the page in both modes, before the accents (a glow reads the accent) and the held roles.
|
|
324
|
-
|
|
365
|
+
// CV5: a flowing page is its own paint — flat under the flow's layers, over any wash or the look's own paint.
|
|
366
|
+
const flow = choices.flow === true;
|
|
367
|
+
const wash = flow ? FLOW_PAGE_PAINT : choices.wash ? COLOUR_WASHES[choices.wash] : undefined;
|
|
325
368
|
if (wash) { palette.light['page-bg'] = wash; palette.dark['page-bg'] = wash; }
|
|
326
369
|
|
|
327
370
|
if (seed.toLowerCase() !== flavor.seed.toLowerCase()) {
|
|
@@ -340,11 +383,11 @@ export function flavorColours(flavor: ColourFlavor, choices: FlavorColourChoices
|
|
|
340
383
|
}
|
|
341
384
|
for (const mode of MODES) {
|
|
342
385
|
const p = palette[mode];
|
|
343
|
-
p['accent-text'] = upper(ensureContrast(p['accent-text'],
|
|
386
|
+
p['accent-text'] = upper(ensureContrast(p['accent-text'], heldGrounds(p, TEXT_GROUNDS, flow), WCAG_AA_TEXT));
|
|
344
387
|
p['inverse-accent'] = upper(ensureContrast(p['inverse-accent'], groundsOf(p, INVERSE_GROUNDS), WCAG_AA_TEXT));
|
|
345
388
|
// A dark word may move the inverse accent: its label follows when it no longer reads (never for a look's own palette).
|
|
346
389
|
if ((grounded || darkened) && wcagContrastRatio(p['inverse-accent-ink'], p['inverse-accent']) < WCAG_AA_TEXT) p['inverse-accent-ink'] = bestInk(p['inverse-accent']);
|
|
347
|
-
holdContrast(p);
|
|
390
|
+
holdContrast(p, flow);
|
|
348
391
|
}
|
|
349
392
|
const out: FlavorColours = {};
|
|
350
393
|
for (const name of Object.keys(flavor.palette.light)) out[name] = [palette.light[name], palette.dark[name]];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COLOUR_DARKS, COLOUR_GROUNDS, COLOUR_WASHES } from './brand-neutrals';
|
|
1
|
+
import { COLOUR_DARKS, COLOUR_FLOW_STOPS, COLOUR_GROUNDS, COLOUR_WASHES } from './brand-neutrals';
|
|
2
2
|
import { DesignChoices } from './design-token.model';
|
|
3
3
|
import { SPEC_AXES } from './flavor-spec.generated';
|
|
4
4
|
|
|
@@ -7,7 +7,9 @@ import { SPEC_AXES } from './flavor-spec.generated';
|
|
|
7
7
|
* dark band's colour, the main button's paint and the page's wash (CV3). Each is ONE `settings.design` row, absent = the look's own (look · ink ·
|
|
8
8
|
* accent — what every site wore before CV2). The ground and dark words are values `flavorColours` computes (the port of
|
|
9
9
|
* colour.mjs, held by the derivation fixtures); the button word is three component tokens (`axes.actionPaints`) that
|
|
10
|
-
* reference roles only. The other COLOUR words (accent, rhythm, bands) are judged by the composer, never painted
|
|
10
|
+
* reference roles only. The other COLOUR words (accent, rhythm, bands) are judged by the composer, never painted — except
|
|
11
|
+
* the one rhythm that moves (CV5 `flow`): the page is painted flat, every held role clears the flow's stops, and
|
|
12
|
+
* `flowStopsOf` writes how many layers the runtime lays under the page.
|
|
11
13
|
*/
|
|
12
14
|
|
|
13
15
|
/** COLOUR.ground: the page's ground family (paper after oura and hotelaurelia, white after cancan, cool after graya). */
|
|
@@ -26,17 +28,19 @@ const isDark = (w: unknown): w is DarkWord => typeof w === 'string' && Object.pr
|
|
|
26
28
|
const isWash = (w: unknown): w is WashWord => typeof w === 'string' && Object.prototype.hasOwnProperty.call(COLOUR_WASHES, w);
|
|
27
29
|
const isAction = (w: unknown): w is ActionWord => typeof w === 'string' && Object.prototype.hasOwnProperty.call(SPEC_AXES.actionPaints, w);
|
|
28
30
|
|
|
29
|
-
/** The colour words a look carries (CV2 ground · dark · action, CV3 wash). */
|
|
30
|
-
export type ColourWordKey = 'ground' | 'dark' | 'action' | 'wash';
|
|
31
|
+
/** The colour words a look carries (CV2 ground · dark · action, CV3 wash, CV5 flow). */
|
|
32
|
+
export type ColourWordKey = 'ground' | 'dark' | 'action' | 'wash' | 'flow';
|
|
31
33
|
|
|
32
34
|
/** The colour words as stored: a known word other than the look's own is kept; the look's own, unknown or absent reads
|
|
33
35
|
* absent (so a row stored before CV2 is the look it always was). Pure. */
|
|
34
36
|
export function resolveColourWords(partial: Readonly<Partial<Record<ColourWordKey, unknown>>> | null | undefined): Pick<DesignChoices, ColourWordKey> {
|
|
35
|
-
const { ground, dark, action, wash } = partial ?? {};
|
|
37
|
+
const { ground, dark, action, wash, flow } = partial ?? {};
|
|
36
38
|
return {
|
|
37
39
|
...(isGround(ground) ? { ground } : {}),
|
|
38
40
|
...(isDark(dark) ? { dark } : {}),
|
|
39
41
|
...(isWash(wash) ? { wash } : {}),
|
|
42
|
+
// CV5: a settings row stores the flow as text — `true` (either way) flows, anything else holds still (absent).
|
|
43
|
+
...(flow === true || flow === 'true' ? { flow: true } : {}),
|
|
40
44
|
...(isAction(action) && action !== ACTION_ACCENT ? { action } : {}),
|
|
41
45
|
};
|
|
42
46
|
}
|
|
@@ -46,3 +50,16 @@ export function actionPaintTokens(action: string | null | undefined): ReadonlyAr
|
|
|
46
50
|
if (!isAction(action) || action === ACTION_ACCENT) return [];
|
|
47
51
|
return Object.entries(SPEC_AXES.actionPaints[action] as Readonly<Record<string, string>>).filter(([k]) => k !== 'label');
|
|
48
52
|
}
|
|
53
|
+
|
|
54
|
+
/** The component token the runtime (`attachColourFlow`) reads: how many flow layers lie under the page (0 = none). */
|
|
55
|
+
export const FLOW_STOPS_TOKEN = 'flow-stops';
|
|
56
|
+
/** The Speed that stands every runtime still (the Marquee's 0, H7: "none under Motion Off"). */
|
|
57
|
+
const MOTION_OFF = 'off';
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* CV5: how many flow layers a look lays under its page — one per stop (`COLOUR_FLOW_STOPS`) when it flows, none when it
|
|
61
|
+
* holds still or the Speed is Off. Reduced motion is the token sheet's (A11Y `flow-stops: 0` — a flat ground). Pure.
|
|
62
|
+
*/
|
|
63
|
+
export function flowStopsOf(choices: Readonly<Pick<DesignChoices, 'flow' | 'motion'>>): number {
|
|
64
|
+
return choices.flow === true && choices.motion !== MOTION_OFF ? COLOUR_FLOW_STOPS.length : 0;
|
|
65
|
+
}
|
|
@@ -56,6 +56,8 @@ export enum DesignConfigKey {
|
|
|
56
56
|
Action = 'action',
|
|
57
57
|
/** Colour v2 CV3: how the page is painted; absent = the look's own paint. */
|
|
58
58
|
Wash = 'wash',
|
|
59
|
+
/** Colour v2 CV5: the page's ground flows with the scroll (`true`); absent = it holds still. */
|
|
60
|
+
Flow = 'flow',
|
|
59
61
|
Revert = 'revert',
|
|
60
62
|
}
|
|
61
63
|
|
|
@@ -241,6 +243,7 @@ export function readDesignConfig(config: ReadonlyArray<DesignConfigEntry> | null
|
|
|
241
243
|
dark: asString(map.get(DesignConfigKey.Dark)) ?? undefined,
|
|
242
244
|
action: asString(map.get(DesignConfigKey.Action)) ?? undefined,
|
|
243
245
|
wash: asString(map.get(DesignConfigKey.Wash)) ?? undefined,
|
|
246
|
+
flow: asBoolean(map.get(DesignConfigKey.Flow)) ?? undefined,
|
|
244
247
|
});
|
|
245
248
|
return {
|
|
246
249
|
choices,
|
|
@@ -292,6 +295,7 @@ export function designConfigEntries(
|
|
|
292
295
|
...(c.dark ? [{ key: DesignConfigKey.Dark, value: c.dark }] : []),
|
|
293
296
|
...(c.action ? [{ key: DesignConfigKey.Action, value: c.action }] : []),
|
|
294
297
|
...(c.wash ? [{ key: DesignConfigKey.Wash, value: c.wash }] : []),
|
|
298
|
+
...(c.flow ? [{ key: DesignConfigKey.Flow, value: 'true' }] : []),
|
|
295
299
|
...(c.fonts ? [{ key: DesignConfigKey.Fonts, value: JSON.stringify(c.fonts) }] : []),
|
|
296
300
|
...(revert ? [{ key: DesignConfigKey.Revert, value: JSON.stringify(revert) }] : []),
|
|
297
301
|
];
|
|
@@ -309,5 +313,6 @@ export function sameDesignChoices(a: DesignChoices, b: DesignChoices): boolean {
|
|
|
309
313
|
&& (x.preloader ?? '') === (y.preloader ?? '')
|
|
310
314
|
&& (x.scrub ?? '') === (y.scrub ?? '')
|
|
311
315
|
&& (x.ground ?? '') === (y.ground ?? '') && (x.dark ?? '') === (y.dark ?? '') && (x.action ?? '') === (y.action ?? '') && (x.wash ?? '') === (y.wash ?? '')
|
|
316
|
+
&& !!x.flow === !!y.flow
|
|
312
317
|
&& JSON.stringify(x.fonts ?? {}) === JSON.stringify(y.fonts ?? {});
|
|
313
318
|
}
|
|
@@ -116,6 +116,9 @@ export interface DesignChoices {
|
|
|
116
116
|
action?: string;
|
|
117
117
|
/** Colour v2 CV3: how the page is painted (`WashWord` — gradient · glow). Absent = the look's own paint. */
|
|
118
118
|
wash?: string;
|
|
119
|
+
/** Colour v2 CV5: the page's ground flows with the scroll (`rhythm.flow` — daylight, landonorris). Absent / false = it
|
|
120
|
+
* holds still. The page is painted flat and the runtime (`attachColourFlow`) crossfades the flow's stops. */
|
|
121
|
+
flow?: boolean;
|
|
119
122
|
}
|
|
120
123
|
|
|
121
124
|
export interface FlavorSpecToken {
|