@ohhwells/bridge 0.1.173 → 0.1.174-next.462
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/index.cjs +2486 -1239
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +114 -1
- package/dist/index.d.ts +114 -1
- package/dist/index.js +2106 -861
- package/dist/index.js.map +1 -1
- package/dist/pages.cjs.map +1 -1
- package/dist/pages.js.map +1 -1
- package/dist/styles.css +116 -0
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1237,4 +1237,117 @@ declare function useOhwCarousel(key: string, initial: CarouselSlide[]): {
|
|
|
1237
1237
|
bind: Record<string, string>;
|
|
1238
1238
|
};
|
|
1239
1239
|
|
|
1240
|
-
|
|
1240
|
+
/**
|
|
1241
|
+
* Background tone signal (OHH-640 colour, OHH-824 image). Every background context on the page
|
|
1242
|
+
* gets `data-ohw-tone="light" | "dark"`: each `[data-ohw-section]`, every element whose background
|
|
1243
|
+
* the editor set, and every nested opaque surface (card, filled panel, badge) big enough to carry
|
|
1244
|
+
* text. The nearest `[data-ohw-tone]` ancestor of an element is the background it sits on, so
|
|
1245
|
+
* `toneFor(el)` and CSS like `[data-ohw-tone="dark"] .x` both read it per context.
|
|
1246
|
+
*
|
|
1247
|
+
* Colour comes from the computed style, so brand tokens, tone presets, custom colours and template
|
|
1248
|
+
* CSS all resolve through the browser with no per-source code; translucent layers are composited up
|
|
1249
|
+
* the ancestor chain over a white page. An image that covers at least 80% of a section is sampled on
|
|
1250
|
+
* a canvas over the area behind the section's text (whole visible image when there is none), with
|
|
1251
|
+
* overlays and gradient fades composited on top. Sampling failure of any kind reads as Light.
|
|
1252
|
+
*
|
|
1253
|
+
* One consumer ships with it: on backgrounds the editor set (`data-ohw-style-bg` tone presets and
|
|
1254
|
+
* custom `data-ohw-style-bgcolor` colours) a text editable whose colour has the same tone as the
|
|
1255
|
+
* background gets `data-ohw-tone-fix`, which the section stylesheet turns into the
|
|
1256
|
+
* brand light or dark text colour. Template-designed sections are never repainted, and an explicit
|
|
1257
|
+
* text colour from the editor (inline `!important`) still wins.
|
|
1258
|
+
*
|
|
1259
|
+
* The second consumer is CTA buttons, on any background: a label with the same tone as the button's
|
|
1260
|
+
* own fill, and an icon with the same tone as the chip right behind it, get `data-ohw-tone-fix` too
|
|
1261
|
+
* (rules mounted by this module). Colours the user picked for a button are never overridden.
|
|
1262
|
+
*/
|
|
1263
|
+
type Tone = 'light' | 'dark';
|
|
1264
|
+
type Rgba = {
|
|
1265
|
+
r: number;
|
|
1266
|
+
g: number;
|
|
1267
|
+
b: number;
|
|
1268
|
+
a: number;
|
|
1269
|
+
};
|
|
1270
|
+
/** Same split as the old editor's getBackgroundTone: luminance at or above it reads Light. */
|
|
1271
|
+
declare const TONE_THRESHOLD = 0.5;
|
|
1272
|
+
declare const TONE_ATTR = "data-ohw-tone";
|
|
1273
|
+
declare const TONE_FIX_ATTR = "data-ohw-tone-fix";
|
|
1274
|
+
declare const TONE_CHANGE_EVENT = "ohw:tone-change";
|
|
1275
|
+
/**
|
|
1276
|
+
* Parses what `getComputedStyle` hands back for a colour: `rgb()/rgba()` (legacy and space syntax),
|
|
1277
|
+
* `color(srgb ...)` (Chrome's form for `color-mix(in srgb, ...)`), `oklch()` and `oklab()`
|
|
1278
|
+
* (Tailwind v4 palettes), hex and `transparent`. Null for anything else.
|
|
1279
|
+
*/
|
|
1280
|
+
declare function parseCssColor(input: string | null | undefined): Rgba | null;
|
|
1281
|
+
/** Porter-Duff "over": `fg` painted on top of `bg`. */
|
|
1282
|
+
declare function compositeColor(fg: Rgba, bg: Rgba): Rgba;
|
|
1283
|
+
/** WCAG relative luminance of an sRGB colour (0..255 channels). Alpha is ignored. */
|
|
1284
|
+
declare function relativeLuminanceOf(color: Rgba): number;
|
|
1285
|
+
declare function toneOfLuminance(luminance: number): Tone;
|
|
1286
|
+
declare function toneOfColor(color: Rgba): Tone;
|
|
1287
|
+
declare function contrastRatioOf(a: Rgba, b: Rgba): number;
|
|
1288
|
+
/** Splits a comma list at the top level only (commas inside `rgb(...)` stay put). */
|
|
1289
|
+
declare function splitTopLevel(value: string): string[];
|
|
1290
|
+
/** The colour stops of one gradient layer, in order. */
|
|
1291
|
+
declare function gradientStopColors(layer: string): Rgba[];
|
|
1292
|
+
/**
|
|
1293
|
+
* A gradient painted over `behind`, read as one colour: each stop composited over what is behind it,
|
|
1294
|
+
* then averaged. A photo fade (`neutral-50` to `transparent`) lands halfway between the two, which is
|
|
1295
|
+
* what text in the middle of that band actually sits on.
|
|
1296
|
+
*/
|
|
1297
|
+
declare function compositeGradient(stops: Rgba[], behind: Rgba): Rgba;
|
|
1298
|
+
type Box = {
|
|
1299
|
+
x: number;
|
|
1300
|
+
y: number;
|
|
1301
|
+
width: number;
|
|
1302
|
+
height: number;
|
|
1303
|
+
};
|
|
1304
|
+
/**
|
|
1305
|
+
* The colour of one linear-gradient layer at point (px, py) of a w x h box, or null for a gradient
|
|
1306
|
+
* this can't place (radial, conic, repeating), which callers read as the averaged layer.
|
|
1307
|
+
*/
|
|
1308
|
+
declare function linearGradientColourAt(layer: string, px: number, py: number, w: number, h: number): Rgba | null;
|
|
1309
|
+
/**
|
|
1310
|
+
* Where a box inside a painted element falls in the image's own pixels. `fit` is the CSS
|
|
1311
|
+
* `background-size` or `object-fit` keyword (or a "W H" pair of px/% sizes), `position` the matching
|
|
1312
|
+
* position pair. Returns null when the box misses the image entirely.
|
|
1313
|
+
*/
|
|
1314
|
+
declare function mapRegionToImage(region: Box, element: {
|
|
1315
|
+
width: number;
|
|
1316
|
+
height: number;
|
|
1317
|
+
}, image: {
|
|
1318
|
+
width: number;
|
|
1319
|
+
height: number;
|
|
1320
|
+
}, fit: string, position: string): Box | null;
|
|
1321
|
+
type StyleLike = Pick<CSSStyleDeclaration, 'backgroundColor' | 'backgroundImage' | 'backgroundSize' | 'backgroundPosition' | 'objectFit' | 'objectPosition' | 'opacity' | 'color' | 'display' | 'visibility'>;
|
|
1322
|
+
type ToneDeps = {
|
|
1323
|
+
style: (el: Element) => StyleLike;
|
|
1324
|
+
rect: (el: Element) => Box;
|
|
1325
|
+
/** Image average for a URL and region; 'loading' while it is not known yet, null on failure. */
|
|
1326
|
+
sample: (url: string, region: (img: {
|
|
1327
|
+
width: number;
|
|
1328
|
+
height: number;
|
|
1329
|
+
}) => Box | null, onReady: () => void) => Rgba | null | 'loading';
|
|
1330
|
+
/** Computed style of a ::before / ::after; optional (tests without pseudo scrims leave it out). */
|
|
1331
|
+
pseudo?: (el: Element, which: '::before' | '::after') => PseudoStyle | null;
|
|
1332
|
+
};
|
|
1333
|
+
type PseudoStyle = StyleLike & Pick<CSSStyleDeclaration, 'content' | 'position' | 'width' | 'height' | 'top' | 'left' | 'right' | 'bottom'>;
|
|
1334
|
+
/**
|
|
1335
|
+
* Recomputes tones. With `only`, just those top-level sections; otherwise every one on the page.
|
|
1336
|
+
* `deps` exists for tests; the browser defaults read computed style, layout and real images.
|
|
1337
|
+
*/
|
|
1338
|
+
declare function computeBackgroundTones(doc: Document, options?: {
|
|
1339
|
+
only?: Iterable<Element>;
|
|
1340
|
+
deps?: ToneDeps;
|
|
1341
|
+
onImageReady?: (section: Element) => void;
|
|
1342
|
+
}): void;
|
|
1343
|
+
/** The tone of the background `el` sits on: its nearest context, Light when none is known. */
|
|
1344
|
+
declare function toneFor(el: Element | null | undefined): Tone;
|
|
1345
|
+
/**
|
|
1346
|
+
* Starts the tone signal on this document and keeps it current: recomputes after style, class,
|
|
1347
|
+
* image and section changes (one pass per animation frame, only the sections touched), after any
|
|
1348
|
+
* change on <html> or <head> (brand vars, stylesheets: every section), on resize and when a sampled
|
|
1349
|
+
* image arrives. Returns the teardown.
|
|
1350
|
+
*/
|
|
1351
|
+
declare function mountBackgroundTone(doc?: Document): () => void;
|
|
1352
|
+
|
|
1353
|
+
export { AI_DEFAULT_BRAND, AI_FOOTER_KEY, AI_TREE_SCHEMA_VERSIONS, AI_TREE_TOKENS, type AiBlockNode, type AiBrandKit, type AiFooterBottomBar, type AiFooterColumn, type AiFooterLayoutTree, AiFooterRenderer, type AiFooterRendererProps, type AiLayoutTree, AiTreeRenderer, type AiTreeRendererProps, BRAND_TITLE_KEY, type CarouselSlide, type CollectionItemHit, type CollectionItemIndex, CustomToolbar, CustomToolbarButton, CustomToolbarDivider, DragHandle, DropIndicator, type DropIndicatorProps, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, EmptySection, type EmptySectionProps, FOOTER_COLUMN_BLOCKS, FOOTER_COLUMN_SPANS, FOOTER_SOCIAL_PLATFORMS, HIDDEN_EDITABLES_KEY, ItemActionToolbar, type ItemActionToolbarProps, ItemInteractionLayer, type ItemInteractionLayerProps, type ItemInteractionState, LinkEditorPanel, type LinkModalMode, type LinkModalProps, type LinkPage, LinkPopover, type LinkSection, OHW_LOADER_PREHYDRATE_SCRIPT, OHW_LOADER_STYLE, OhhwellsBridge, OhwLoaderSpinner, OhwLoaderSurface, type PagesSyncMessage, SITE_OG_IMAGE_KEY, SchedulingWidget, type SectionScaffold, type SiteLegalLinks, type SitePageEntry, type SyncLink, type SyncPlan, TEMPLATE_LOGO_ATTR, TONE_ATTR, TONE_CHANGE_EVENT, TONE_FIX_ATTR, TONE_THRESHOLD, Toggle, ToggleGroup, ToggleGroupItem, type Tone, type ToneDeps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, addFooterLinkColumn, appendFooterSocial, applyBrandChrome, applyHiddenEditablesToDom, applyStickySearchParams, blockPathFromEditKey, buildDefaultFooterTree, buildTarget, canRemoveAiBlock, canRemoveAiTextBlock, canSoftHideEditable, compositeColor, compositeGradient, computeBackgroundTones, contrastRatioOf, dropIndicatorVariants, ensureFooterTree, filterAvailablePages, foldAlignIntoTrees, getEditModeInitialState, gradientStopColors, hasMountedContentNodes, indexCollectionItems, insertFooterHours, isDeadPageHref, isEditSessionActive, isEditableKeyHidden, isPlainLeftClick, isRenderableFooterTree, isRenderableTree, isStickySearchParam, isValidUrl, linearGradientColourAt, mapRegionToImage, matchCollectionItemClick, mountBackgroundTone, nextViableSlide, parseAiFooterState, parseAiSectionsState, parseCssColor, parseTarget, planAiBlockRemoval, planAiTextBlockRemoval, planBuildPageSync, readHiddenEditables, recordOverriddenPaths, relativeLuminanceOf, releaseTemplateLogoIfReplaced, removeBlockAtPath, removeFooterBlock, resetOverriddenPathsCache, resolveFooterCopyright, resolveSoftHideTarget, resolveStickyNavigation, serializeAiFooterState, shouldFetchContentForPath, softHideEditableInDom, softUnhideEditableInDom, splitTopLevel, stepViableSlide, stripPlaceholderText, stripPlaceholders, stripTextAlignCss, toggleVariants, toneFor, toneOfColor, toneOfLuminance, useOhwCarousel, validateUrlInput, viableSlides, withHiddenEditable, withoutHiddenEditable };
|
package/dist/index.d.ts
CHANGED
|
@@ -1237,4 +1237,117 @@ declare function useOhwCarousel(key: string, initial: CarouselSlide[]): {
|
|
|
1237
1237
|
bind: Record<string, string>;
|
|
1238
1238
|
};
|
|
1239
1239
|
|
|
1240
|
-
|
|
1240
|
+
/**
|
|
1241
|
+
* Background tone signal (OHH-640 colour, OHH-824 image). Every background context on the page
|
|
1242
|
+
* gets `data-ohw-tone="light" | "dark"`: each `[data-ohw-section]`, every element whose background
|
|
1243
|
+
* the editor set, and every nested opaque surface (card, filled panel, badge) big enough to carry
|
|
1244
|
+
* text. The nearest `[data-ohw-tone]` ancestor of an element is the background it sits on, so
|
|
1245
|
+
* `toneFor(el)` and CSS like `[data-ohw-tone="dark"] .x` both read it per context.
|
|
1246
|
+
*
|
|
1247
|
+
* Colour comes from the computed style, so brand tokens, tone presets, custom colours and template
|
|
1248
|
+
* CSS all resolve through the browser with no per-source code; translucent layers are composited up
|
|
1249
|
+
* the ancestor chain over a white page. An image that covers at least 80% of a section is sampled on
|
|
1250
|
+
* a canvas over the area behind the section's text (whole visible image when there is none), with
|
|
1251
|
+
* overlays and gradient fades composited on top. Sampling failure of any kind reads as Light.
|
|
1252
|
+
*
|
|
1253
|
+
* One consumer ships with it: on backgrounds the editor set (`data-ohw-style-bg` tone presets and
|
|
1254
|
+
* custom `data-ohw-style-bgcolor` colours) a text editable whose colour has the same tone as the
|
|
1255
|
+
* background gets `data-ohw-tone-fix`, which the section stylesheet turns into the
|
|
1256
|
+
* brand light or dark text colour. Template-designed sections are never repainted, and an explicit
|
|
1257
|
+
* text colour from the editor (inline `!important`) still wins.
|
|
1258
|
+
*
|
|
1259
|
+
* The second consumer is CTA buttons, on any background: a label with the same tone as the button's
|
|
1260
|
+
* own fill, and an icon with the same tone as the chip right behind it, get `data-ohw-tone-fix` too
|
|
1261
|
+
* (rules mounted by this module). Colours the user picked for a button are never overridden.
|
|
1262
|
+
*/
|
|
1263
|
+
type Tone = 'light' | 'dark';
|
|
1264
|
+
type Rgba = {
|
|
1265
|
+
r: number;
|
|
1266
|
+
g: number;
|
|
1267
|
+
b: number;
|
|
1268
|
+
a: number;
|
|
1269
|
+
};
|
|
1270
|
+
/** Same split as the old editor's getBackgroundTone: luminance at or above it reads Light. */
|
|
1271
|
+
declare const TONE_THRESHOLD = 0.5;
|
|
1272
|
+
declare const TONE_ATTR = "data-ohw-tone";
|
|
1273
|
+
declare const TONE_FIX_ATTR = "data-ohw-tone-fix";
|
|
1274
|
+
declare const TONE_CHANGE_EVENT = "ohw:tone-change";
|
|
1275
|
+
/**
|
|
1276
|
+
* Parses what `getComputedStyle` hands back for a colour: `rgb()/rgba()` (legacy and space syntax),
|
|
1277
|
+
* `color(srgb ...)` (Chrome's form for `color-mix(in srgb, ...)`), `oklch()` and `oklab()`
|
|
1278
|
+
* (Tailwind v4 palettes), hex and `transparent`. Null for anything else.
|
|
1279
|
+
*/
|
|
1280
|
+
declare function parseCssColor(input: string | null | undefined): Rgba | null;
|
|
1281
|
+
/** Porter-Duff "over": `fg` painted on top of `bg`. */
|
|
1282
|
+
declare function compositeColor(fg: Rgba, bg: Rgba): Rgba;
|
|
1283
|
+
/** WCAG relative luminance of an sRGB colour (0..255 channels). Alpha is ignored. */
|
|
1284
|
+
declare function relativeLuminanceOf(color: Rgba): number;
|
|
1285
|
+
declare function toneOfLuminance(luminance: number): Tone;
|
|
1286
|
+
declare function toneOfColor(color: Rgba): Tone;
|
|
1287
|
+
declare function contrastRatioOf(a: Rgba, b: Rgba): number;
|
|
1288
|
+
/** Splits a comma list at the top level only (commas inside `rgb(...)` stay put). */
|
|
1289
|
+
declare function splitTopLevel(value: string): string[];
|
|
1290
|
+
/** The colour stops of one gradient layer, in order. */
|
|
1291
|
+
declare function gradientStopColors(layer: string): Rgba[];
|
|
1292
|
+
/**
|
|
1293
|
+
* A gradient painted over `behind`, read as one colour: each stop composited over what is behind it,
|
|
1294
|
+
* then averaged. A photo fade (`neutral-50` to `transparent`) lands halfway between the two, which is
|
|
1295
|
+
* what text in the middle of that band actually sits on.
|
|
1296
|
+
*/
|
|
1297
|
+
declare function compositeGradient(stops: Rgba[], behind: Rgba): Rgba;
|
|
1298
|
+
type Box = {
|
|
1299
|
+
x: number;
|
|
1300
|
+
y: number;
|
|
1301
|
+
width: number;
|
|
1302
|
+
height: number;
|
|
1303
|
+
};
|
|
1304
|
+
/**
|
|
1305
|
+
* The colour of one linear-gradient layer at point (px, py) of a w x h box, or null for a gradient
|
|
1306
|
+
* this can't place (radial, conic, repeating), which callers read as the averaged layer.
|
|
1307
|
+
*/
|
|
1308
|
+
declare function linearGradientColourAt(layer: string, px: number, py: number, w: number, h: number): Rgba | null;
|
|
1309
|
+
/**
|
|
1310
|
+
* Where a box inside a painted element falls in the image's own pixels. `fit` is the CSS
|
|
1311
|
+
* `background-size` or `object-fit` keyword (or a "W H" pair of px/% sizes), `position` the matching
|
|
1312
|
+
* position pair. Returns null when the box misses the image entirely.
|
|
1313
|
+
*/
|
|
1314
|
+
declare function mapRegionToImage(region: Box, element: {
|
|
1315
|
+
width: number;
|
|
1316
|
+
height: number;
|
|
1317
|
+
}, image: {
|
|
1318
|
+
width: number;
|
|
1319
|
+
height: number;
|
|
1320
|
+
}, fit: string, position: string): Box | null;
|
|
1321
|
+
type StyleLike = Pick<CSSStyleDeclaration, 'backgroundColor' | 'backgroundImage' | 'backgroundSize' | 'backgroundPosition' | 'objectFit' | 'objectPosition' | 'opacity' | 'color' | 'display' | 'visibility'>;
|
|
1322
|
+
type ToneDeps = {
|
|
1323
|
+
style: (el: Element) => StyleLike;
|
|
1324
|
+
rect: (el: Element) => Box;
|
|
1325
|
+
/** Image average for a URL and region; 'loading' while it is not known yet, null on failure. */
|
|
1326
|
+
sample: (url: string, region: (img: {
|
|
1327
|
+
width: number;
|
|
1328
|
+
height: number;
|
|
1329
|
+
}) => Box | null, onReady: () => void) => Rgba | null | 'loading';
|
|
1330
|
+
/** Computed style of a ::before / ::after; optional (tests without pseudo scrims leave it out). */
|
|
1331
|
+
pseudo?: (el: Element, which: '::before' | '::after') => PseudoStyle | null;
|
|
1332
|
+
};
|
|
1333
|
+
type PseudoStyle = StyleLike & Pick<CSSStyleDeclaration, 'content' | 'position' | 'width' | 'height' | 'top' | 'left' | 'right' | 'bottom'>;
|
|
1334
|
+
/**
|
|
1335
|
+
* Recomputes tones. With `only`, just those top-level sections; otherwise every one on the page.
|
|
1336
|
+
* `deps` exists for tests; the browser defaults read computed style, layout and real images.
|
|
1337
|
+
*/
|
|
1338
|
+
declare function computeBackgroundTones(doc: Document, options?: {
|
|
1339
|
+
only?: Iterable<Element>;
|
|
1340
|
+
deps?: ToneDeps;
|
|
1341
|
+
onImageReady?: (section: Element) => void;
|
|
1342
|
+
}): void;
|
|
1343
|
+
/** The tone of the background `el` sits on: its nearest context, Light when none is known. */
|
|
1344
|
+
declare function toneFor(el: Element | null | undefined): Tone;
|
|
1345
|
+
/**
|
|
1346
|
+
* Starts the tone signal on this document and keeps it current: recomputes after style, class,
|
|
1347
|
+
* image and section changes (one pass per animation frame, only the sections touched), after any
|
|
1348
|
+
* change on <html> or <head> (brand vars, stylesheets: every section), on resize and when a sampled
|
|
1349
|
+
* image arrives. Returns the teardown.
|
|
1350
|
+
*/
|
|
1351
|
+
declare function mountBackgroundTone(doc?: Document): () => void;
|
|
1352
|
+
|
|
1353
|
+
export { AI_DEFAULT_BRAND, AI_FOOTER_KEY, AI_TREE_SCHEMA_VERSIONS, AI_TREE_TOKENS, type AiBlockNode, type AiBrandKit, type AiFooterBottomBar, type AiFooterColumn, type AiFooterLayoutTree, AiFooterRenderer, type AiFooterRendererProps, type AiLayoutTree, AiTreeRenderer, type AiTreeRendererProps, BRAND_TITLE_KEY, type CarouselSlide, type CollectionItemHit, type CollectionItemIndex, CustomToolbar, CustomToolbarButton, CustomToolbarDivider, DragHandle, DropIndicator, type DropIndicatorProps, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, EmptySection, type EmptySectionProps, FOOTER_COLUMN_BLOCKS, FOOTER_COLUMN_SPANS, FOOTER_SOCIAL_PLATFORMS, HIDDEN_EDITABLES_KEY, ItemActionToolbar, type ItemActionToolbarProps, ItemInteractionLayer, type ItemInteractionLayerProps, type ItemInteractionState, LinkEditorPanel, type LinkModalMode, type LinkModalProps, type LinkPage, LinkPopover, type LinkSection, OHW_LOADER_PREHYDRATE_SCRIPT, OHW_LOADER_STYLE, OhhwellsBridge, OhwLoaderSpinner, OhwLoaderSurface, type PagesSyncMessage, SITE_OG_IMAGE_KEY, SchedulingWidget, type SectionScaffold, type SiteLegalLinks, type SitePageEntry, type SyncLink, type SyncPlan, TEMPLATE_LOGO_ATTR, TONE_ATTR, TONE_CHANGE_EVENT, TONE_FIX_ATTR, TONE_THRESHOLD, Toggle, ToggleGroup, ToggleGroupItem, type Tone, type ToneDeps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, addFooterLinkColumn, appendFooterSocial, applyBrandChrome, applyHiddenEditablesToDom, applyStickySearchParams, blockPathFromEditKey, buildDefaultFooterTree, buildTarget, canRemoveAiBlock, canRemoveAiTextBlock, canSoftHideEditable, compositeColor, compositeGradient, computeBackgroundTones, contrastRatioOf, dropIndicatorVariants, ensureFooterTree, filterAvailablePages, foldAlignIntoTrees, getEditModeInitialState, gradientStopColors, hasMountedContentNodes, indexCollectionItems, insertFooterHours, isDeadPageHref, isEditSessionActive, isEditableKeyHidden, isPlainLeftClick, isRenderableFooterTree, isRenderableTree, isStickySearchParam, isValidUrl, linearGradientColourAt, mapRegionToImage, matchCollectionItemClick, mountBackgroundTone, nextViableSlide, parseAiFooterState, parseAiSectionsState, parseCssColor, parseTarget, planAiBlockRemoval, planAiTextBlockRemoval, planBuildPageSync, readHiddenEditables, recordOverriddenPaths, relativeLuminanceOf, releaseTemplateLogoIfReplaced, removeBlockAtPath, removeFooterBlock, resetOverriddenPathsCache, resolveFooterCopyright, resolveSoftHideTarget, resolveStickyNavigation, serializeAiFooterState, shouldFetchContentForPath, softHideEditableInDom, softUnhideEditableInDom, splitTopLevel, stepViableSlide, stripPlaceholderText, stripPlaceholders, stripTextAlignCss, toggleVariants, toneFor, toneOfColor, toneOfLuminance, useOhwCarousel, validateUrlInput, viableSlides, withHiddenEditable, withoutHiddenEditable };
|